Getting PRODUCT_NAME was misdefined: Sample. Please, provide :product_name option error, even through providing the product_name option externally
create_xcframework(
workspace: "Myapp.xcworkspace",
scheme: "Myapp-Universal",
product_name: 'Myapp', # optional if scheme doesnt match the name of your framework
destinations: ['iOS'],
xcframework_output_directory: '../../bin'
)
Stack
| Key |
Value |
| OS |
10.15.7 |
| Ruby |
2.7.2 |
| Bundler? |
false |
| Git |
git version 2.15.0 |
| Installation Source |
/usr/local/Cellar/fastlane/2.174.0/libexec/bin/fastlane |
| Host |
Mac OS X 10.15.7 (19H2) |
| Ruby Lib Dir |
/usr/local/Cellar/ruby@2.7/2.7.2/lib |
| OpenSSL Version |
OpenSSL 1.1.1i 8 Dec 2020 |
| Is contained |
false |
| Is homebrew |
true |
| Is installed via Fabric.app |
false |
| Xcode Path |
/Applications/Xcode_12.4.app/Contents/Developer/ |
| Xcode Version |
12.4 |
Getting PRODUCT_NAME was misdefined:
Sample. Please, provide :product_name option error, even through providing the product_name option externallycreate_xcframework(
workspace: "Myapp.xcworkspace",
scheme: "Myapp-Universal",
product_name: 'Myapp', # optional if scheme doesnt match the name of your framework
destinations: ['iOS'],
xcframework_output_directory: '../../bin'
)
Stack