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
SR-730 Flag to statically link Swift standard library
Issue Description:
Since Xcode 10 with swift 4.2 support swift static standard library, so I try it in my oc&swift mix project. And everything is ok in my debug and testing phase. But once I upload I to apple connect, it will give me following issue:
So I don't know why apple treat swift static standard library as a private api not swift dynamic standard library. Could any one help me to know this? Very thanks.
Following is my steps for to involve it:
1. add swift static standard library path to library search path.
set Always Embed Swift Standard Libraries to NO. Because we don't need swift dynamic swift standard library any more. If you still set it to YES, the apple connect process will give the following error
Hi, Karos. The static standard libraries are not supported for iOS (for various reasons, not just this); it is a mistake that they were shipped at all. Sorry for the trouble.
For future issues with the App Store, please file at https://bugreport.apple.com; the Swift Open Source project usually doesn't have control over these things.
Environment
Xcode 10.1
Swift 4.2
Mac OS 10.14
Additional Detail from JIRA
md5: 8a8e795235bb7f1b9ab39ca22458b87d
relates to:
Issue Description:
Since Xcode 10 with swift 4.2 support swift static standard library, so I try it in my oc&swift mix project. And everything is ok in my debug and testing phase. But once I upload I to apple connect, it will give me following issue:
But if I upload build by using swift dynamic standard library, I can upload build successfully.
So I use nm tool to check which library contains these symbol.
I found that libswiftCore.a contains these private api.
Continue, I try to print libswiftCore.dyld symbols. The dynamic symbols also contains these private api.
So I don't know why apple treat swift static standard library as a private api not swift dynamic standard library. Could any one help me to know this? Very thanks.
Following is my steps for to involve it:
1. add swift static standard library path to library search path.
2. add force_load to other link flags. It will make my swift code link to swift static standard library.
add libc++.tbd to link library in build phase.
set Always Embed Swift Standard Libraries to NO. Because we don't need swift dynamic swift standard library any more. If you still set it to YES, the apple connect process will give the following error
The text was updated successfully, but these errors were encountered: