Open MIyulong opened 5 years ago
I'm working around the same issue right now. The problem is that the plugin intentionally doesn't build for i386
simulator architectures and only builds for x86_64
simulator architectures.
A function that's supposed to help fix this is set_custom_xcodebuild_options_for_prebuilt_frameworks
, but I still haven't figured this out.
If I include set_custom_xcodebuild_options_for_prebuilt_frameworks :simulator => "ARCHS=$(ARCHS_STANDARD)"
in my podfile, most dependencies will error out with sh: ARCHS_STANDARD: command not found
.
If I try to manually specify simulator architectures with set_custom_xcodebuild_options_for_prebuilt_frameworks :simulator => "ARCHS=x86_64 i386"
, running pod install --verbose
exits out early whenever it tries to compile the nanopb
depencency library (which, normally, compiles just fine).
I'll update here if I figure out a solution to this.
environment: CocoaPods : 1.7.5 Xcode : 10.3 (10G8) cocoapods-binary : 0.4.4
issue when I install this with cocoapods-binary:
I get this error:
However, when I remove this code :
:binary => true
, then everything is ok And the same issue with other libraries