xcode 7.1 swift framework app builds but not archiving

前端 未结 2 1601
借酒劲吻你
借酒劲吻你 2020-12-01 07:15

I have created a sample Framework in Swift, xcode 7.1. The framework is then built for Profiling, released version. Released framework then added(embedded) to an iOS test ap

2条回答
  •  孤街浪徒
    2020-12-01 07:46

    xcode requires that bitcode for all embedded frameworks is generated during archiving.

    Copying the release build of framework/dylib isn't enough

    do
    archive the framework and THEN use the archived version of the framework from then on.

    to get xcode to archive a framework (normally it only archives apps), set the build setting 'skip install' to NO for the framework target!

提交回复
热议问题