3

尝试创建我的插件包的发布版本时,链接器无法成功,因为它无法剥离符号。

这是输出:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: symbols referenced by indirect symbol table entries that can't be stripped in: <long path to binary here>
_SecKeychainAddGenericPassword
_SecKeychainAddInternetPassword
_SecKeychainFindGenericPassword
_SecKeychainFindInternetPassword
_SecKeychainItemCopyContent
_SecKeychainItemDelete
_SecKeychainItemFreeContent
_SecKeychainItemModifyAttributesAndData
_SecKeychainLock
_SecKeychainUnlock
_NSLog
_NSStringFromSelector
_NSTemporaryDirectory
_class_addMethod
_class_getInstanceMethod
_class_getInstanceSize
_class_getInstanceVariable
_class_getIvarLayout
_class_getSuperclass
_ivar_getName
_ivar_getOffset
<some other objective-c symbols here, all from system frameworks>
_objc_autoreleasePoolPush
_objc_msgSend
_objc_release
_objc_retain

有趣的是,项目加载的框架中的符号或我的代码中的符号都没有出现在这里。

条带样式设置为“所有符号”,这是默认设置。

4

0 回答 0