Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRODUCT_NAME was misdefined #10

Open
pantomath91 opened this issue Feb 16, 2021 · 3 comments
Open

PRODUCT_NAME was misdefined #10

pantomath91 opened this issue Feb 16, 2021 · 3 comments

Comments

@pantomath91
Copy link

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/[email protected]/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
@spnkr
Copy link

spnkr commented Apr 21, 2021

i'm having the same issue:

  desc "Export xcframework"
  lane :export_xcframework do
    create_xcframework(
      workspace: '../Library.xcworkspace',
      scheme: 'LIFX',
      destinations: ['iOS'],
      xcframework_output_directory: 'Releases/xcframeworks'
    )
  end

with Xcode 12.4, ruby 2.6.2, Mac OS 10.15.7

@bielikb
Copy link
Owner

bielikb commented Apr 22, 2021

Hi @pantomath91 @spnkr
Could you please share a skeleton/demo app that showcases your problems?

Thanks!
I must've overlook this issue. Sorry for late response

@hrabkin
Copy link

hrabkin commented Jul 3, 2023

Just moved my CI to a new machine and reproduce it again. Not sure but seems like it works occasionally, maybe it somehow related to clearing derived data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants