Xcode 6 Archiving and get a warning “Skipping copy phase strip ,binary is code signed” when add “share extension” to target

前端 未结 5 2061
没有蜡笔的小新
没有蜡笔的小新 2020-12-29 08:01

I got this warning when I added share extension to my project and archiving it warning: skipping copy phase strip, binary is code signed: /Users/xxxx/xxx/xxxx/

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-29 08:14

    Do not disable Strip Debug Symbols During Copy in your application project. This will bloat your app (if you have other unsigned dependencies).

    It occurs because building the application project attempts to strip the framework but it can't since the framework is already codesigned. However the framework has already been stripped during it's build, so the warning is harmless. Xcode isn't doesn't seem to detect that the codesigned framework has already been stripped.

    You should leave it as is.

提交回复
热议问题