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

Missing architectures #93

Open
MIyulong opened this issue Aug 27, 2019 · 1 comment
Open

Missing architectures #93

MIyulong opened this issue Aug 27, 2019 · 1 comment

Comments

@MIyulong
Copy link

MIyulong commented Aug 27, 2019

  • environment:
    CocoaPods : 1.7.5
    Xcode : 10.3 (10G8)
    cocoapods-binary : 0.4.4

  • issue
    when I install this with cocoapods-binary:

plugin 'cocoapods-binary'
use_frameworks!
target 'MyApp' do
    pod 'Kingfisher', '5.2.0' , :binary => true

I get this error:

error: could not find module 'Kingfisher' for architecture 'i386'; found: arm64, x86_64, arm, armv7

However, when I remove this code : :binary => true, then everything is ok
And the same issue with other libraries

@macnb9
Copy link

macnb9 commented Sep 11, 2019

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.

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

2 participants