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

pre-built-binary won't be created if xcodeproj does not contain Release configuration. #138

Open
muukii opened this issue Dec 6, 2020 · 4 comments

Comments

@muukii
Copy link

muukii commented Dec 6, 2020

To solve, add Release configuration. even we don't use in mainly. just for creating pre-built-binary.

@azilbershtein
Copy link

@muukii How can you add it automatically?
What I experienced is for some pods there's Release configuration and some doesn't have and it built the .framework in a wrong location + doesn't have Bundle Id (due to lack of configration).
The fix for me was to change the configuration https://github.com/leavez/cocoapods-binary/blob/master/lib/cocoapods-binary/rome/build_framework.rb#L4 to Debug.
Screen Shot 2021-01-07 at 18 15 00

@muukii
Copy link
Author

muukii commented Jan 8, 2021

@azilbershtein

add Release configuration

Sorry missing words, I mean 'Adds Release configuration into main project (it's not Pods project)`

CocoaPods creates targets according to your project's configurations.
If your project has targets (A,B,C), Pods also would have configurations (A,B,C) each target.

Let me check your current status, does your project have Release configuration?

(your project means it has Application target.)

@azilbershtein
Copy link

@muukii No, but as you can see on the left pod it created two configurations:
"Enterprise DEBUG" and "Release" (don't have either of them in my target) and those config doesn't have a bundle Id.
I'm just wondering.. why is that?
It's not something that should be specified in the podspec? (there's nothing about configs there

Thanks for your answer!

@ben8987
Copy link

ben8987 commented Jun 9, 2021

We had this issue, and found out that it's due to a CocoaPods issue so raised it there: CocoaPods/CocoaPods#10674

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

3 participants