You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a lot of Undefined symbol for architecture arm64 errors when archiving the project in Xcode 11 beta 4. Even on xcode11 branch:
Undefined symbol: protocol witness table for Swift.UInt8 : Swift.CVarArg in Swift
Undefined symbol: _swift_initEnumMetadataSinglePayload
Undefined symbol: _swift_getTupleTypeMetadata
Undefined symbol: _swift_getFunctionTypeMetadata2
Undefined symbol: Foundation.Data.append(Foundation.Data) -> ()
[...]
Reproduce
With Xcode 11 beta 4, create a new project
Create a Podfile by running $ pod init
Edit the Podfile as follows:
platform :ios, '13.0'
target 'KingfisherTest' do
use_frameworks!
pod 'Kingfisher', :git => 'https://github.com/onevcat/Kingfisher.git', :branch => 'xcode11'
end
Run $ pod install
Open the generated xcworkspace
On Xcode, go to Product > Archive
Other Comment
My CocoaPods version is 1.7.5.
I've also tried with Kingfisher version 5.7.0 and got the same result.
I was able to archive a project created with Xcode 10 using Kingfisher 5.7.0.
-- Edit:
I think maybe this is a problem with CocoaPods... Because I can successfully archive if I create a new project using Swift Package Manager pointing to the xcode11 branch.
The text was updated successfully, but these errors were encountered:
I believe it is an issue in Xcode 11 beta 4. Hopefully, Apple might fix it in the next beta. If you need to archive the project now, I suggest to check the workaround here: Carthage/Carthage#2825
Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.
Issue Description
What
I'm getting a lot of
Undefined symbol for architecture arm64
errors when archiving the project in Xcode 11 beta 4. Even onxcode11
branch:Reproduce
$ pod init
$ pod install
xcworkspace
Other Comment
-- Edit:
I think maybe this is a problem with CocoaPods... Because I can successfully archive if I create a new project using Swift Package Manager pointing to the
xcode11
branch.The text was updated successfully, but these errors were encountered: