Closed smmcdonald closed 2 years ago
@smmcdonald can you provide more context or links on why some Cocoapods frameworks needs this disabled?
This is because some frameworks require codesigning in order to produce a valid build product, otherwise, there will be an error:
CodeSign error: code signing is required for product type 'Application' in SDK
'iOS 15.2'
and missing _CodeSignature file in the framework. https://stackoverflow.com/a/11034618/2076025
I just added CODE_SIGNING_ALLOWED=YES
in the xcodebuild_options
for this
Edit: I just saw that the workaround was the same
PR #31 will resolve the issue. Expect a new version in the next 48 hours.
Troubleshooting
Useful information
Issue description
Currently, there is no option to toggle "CODE_SIGNING_ALLOWED=NO", which is required by some CocoaPod frameworks such as Firebase Remote Config to work properly.
Bitrise info
It is possible to work around this limitation by adding "CODE_SIGNING_ALLOWED=YES" in the 'Additional options for xcodebuild call' under the 'Debug' section but I wouldn't rely on this as it produces a command that looks like this with two CODE_SIGNING_ALLOWED flags that may not always work:
Steps to reproduce
Run the build for the simulator step on a project that uses Firebase Remote Config key values. The values should be fetched on app launch but are never called.