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

x86_64 architecture is missing from built frameworks #65

Open
TomasLinhart opened this issue Apr 13, 2018 · 5 comments
Open

x86_64 architecture is missing from built frameworks #65

TomasLinhart opened this issue Apr 13, 2018 · 5 comments

Comments

@TomasLinhart
Copy link
Contributor

I tried to build with a framework with Rome, but for some reason it does not build for x86_64 architecture in Debug. In Release configuration even i386 is missing.

I tried with CocoaPods 1.4 and CocoaPods 1.5 and same result. I use Xcode 9.3 so it might be related to that.

@jugutier
Copy link
Contributor

Do you know if the pod you added in your podfile actually supports that architecture? could you upload an example Podfile you used?

@TomasLinhart
Copy link
Contributor Author

Sure, this is my Podfile:

platform :ios, '9.0'

plugin 'cocoapods-rome', { 
    :pre_compile => Proc.new { |installer|
        installer.pods_project.targets.each do |target|
            target.build_configurations.each do |config|
                config.build_settings['SWIFT_VERSION'] = '4.1'
            end
        end

        installer.pods_project.save
    },
    dsym: false
}

target 'caesar' do
    pod 'Alamofire'
end

After that I run pod install and go to Rome and run lipo -info Alamofire.framework/Alamofire and it prints only Architectures in the fat file: Alamofire.framework/Alamofire are: armv7 arm64.

@KieranLafferty
Copy link

I think it has something to do with the dsym: false option. Is this expected behavior? Is there any workaround to make sure that x86_64 is included with dsym: false? I actually need to use dsym: false since cocoapods crashes for me when installing react-native pod if I don't have that setting specified

@kushalpal17
Copy link

missing simulator architecture. Tested on Xcode 12

@kj800x kj800x mentioned this issue Feb 18, 2021
@kj800x
Copy link

kj800x commented Feb 18, 2021

I ran into this today too. It looks like #89 will fix it.

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

5 participants