Rome icon indicating copy to clipboard operation
Rome copied to clipboard

x86_64 architecture is missing from built frameworks

Open TomasLinhart opened this issue 6 years ago • 5 comments

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.

TomasLinhart avatar Apr 13 '18 15:04 TomasLinhart

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

jugutier avatar May 24 '18 02:05 jugutier

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.

TomasLinhart avatar May 24 '18 11:05 TomasLinhart

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

KieranLafferty avatar Jul 31 '18 08:07 KieranLafferty

missing simulator architecture. Tested on Xcode 12

kushalpal17 avatar Jan 08 '21 03:01 kushalpal17

I ran into this today too. It looks like https://github.com/CocoaPods/Rome/pull/89 will fix it.

kj800x avatar Feb 18 '21 02:02 kj800x