What is libswiftRemoteMirror.dylib and why is it being included in my app bundle?

前端 未结 6 908
陌清茗
陌清茗 2021-02-01 16:11

I\'ve got an iOS app which I\'ve recently switched to Xcode 8. As part of that we switched from swift 2.2 to 2.3 (swift 3 will come later).

I\'ve got an automated build

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-01 16:55

    I ran into the same problem after installing Xcode 8, by building via shenzhen.

    I decided to look at Fastlane as an alternative, and their gym program produces an ipa that can be submitted to Apple.

    It was reasonably easy for me to replace the call to ipa (shenzhen's executable) with a call to gym, and the rest of my build-and-upload scripts worked without modifications.

    If you prefer to build directly, I lifted the following from the gym readme. It produces an .xcarchive containing an .app file without the libswiftRemoteMirror.dylib. I don't use that kind of flow myself, so I can't say how you would proceed from there.

    xcodebuild \
      -scheme Scheme \
      -workspace Project.xcworkspace \
      -configuration 'Release' \
      -destination 'generic/platform=iOS' \
      -archivePath './Output.xcarchive' \
      archive
    

提交回复
热议问题