Rome
Rome copied to clipboard
x86_64 architecture is missing from built frameworks
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.
Do you know if the pod you added in your podfile actually supports that architecture? could you upload an example Podfile you used?
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
.
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
missing simulator architecture. Tested on Xcode 12
I ran into this today too. It looks like https://github.com/CocoaPods/Rome/pull/89 will fix it.