Open muukii opened 3 years ago
@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.
@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.)
@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!
We had this issue, and found out that it's due to a CocoaPods issue so raised it there: https://github.com/CocoaPods/CocoaPods/issues/10674
To solve, add
Release
configuration. even we don't use in mainly. just for creating pre-built-binary.