前提・実現したいこと
こちらの質問の続きとなります。
RealmをCocoapodsで導入しているプロジェクトで、フリープランでBitriseを利用したかったので
こちらを参考にRealmをCocoapodsから、Carthageに変更しました。
xcode単体ではビルドまで出来て問題なく動くのですが
Bitrise上でビルドを行うと、下記のエラーが出てしまいビルドに失敗しています。
Bitrise上でCarthageを利用する方法が
調べてもわからなかったので、ご教示頂けると幸いです。
発生している問題・エラーメッセージ
+------------------------------------------------------------------------------+ | (6) xcode-archive@2.5.0 | +------------------------------------------------------------------------------+ | id: xcode-archive | | version: 2.5.0 | | collection: https://github.com/bitrise-io/bitrise-steplib.git | | toolkit: go | | time: 2019-08-13T05:05:27Z | +------------------------------------------------------------------------------+ | | INFO[05:05:27] * [OK] Step dependency (xcode) installed, available. INFO[05:05:27] * [OK] Step dependency (go) installed, available. Configs: - ExportMethod: ad-hoc - UploadBitcode: yes - CompileBitcode: yes - ICloudContainerEnvironment: - TeamID: - UseDeprecatedExport: no - ForceTeamID: - ForceProvisioningProfileSpecifier: - ForceProvisioningProfile: - ForceCodeSignIdentity: - CustomExportOptionsPlistContent: - OutputTool: xcpretty - Workdir: /Users/vagrant/git - ProjectPath: UtilityCosts.xcworkspace - Scheme: UtilityCosts - Configuration: - OutputDir: /Users/vagrant/deploy - IsCleanBuild: no - XcodebuildOptions: - DisableIndexWhileBuilding: true - IsExportXcarchiveZip: no - ExportAllDsyms: yes - ArtifactName: UtilityCosts - VerboseLog: true step determined configs: - xcodebuildVersion: Xcode 10.2.1 (Build version 10E1001) Checking if output tool (xcpretty) is installed - xcprettyVersion: 0.3.0 Create the Archive ... [05:05:36] $ set -o pipefail && xcodebuild "-workspace" "UtilityCosts.xcworkspace" "-scheme" "UtilityCosts" "COMPILER_INDEX_STORE_ENABLE=NO" "archive" "-archivePath" "/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/__archive__533620815/UtilityCosts.xcarchive" | xcpretty ▸ Copying Charts-umbrella.h ▸ Processing Charts-Info.plist ▸ Processing ScrollableGraphView-Info.plist ▸ Copying ScrollableGraphView-umbrella.h ▸ Processing RxSwift-Info.plist ▸ Copying RxSwift-umbrella.h ▸ Processing IQKeyboardManagerSwift-Info.plist ▸ Copying IQKeyboardManagerSwift-umbrella.h ▸ Compiling ScrollableGraphView_vers.c ▸ Compiling ScrollableGraphView-dummy.m ▸ Compiling ScrollableGraphView_vers.c ▸ Compiling ScrollableGraphView-dummy.m ▸ Compiling RxSwift_vers.c ▸ Linking ScrollableGraphView ▸ Compiling RxSwift-dummy.m ▸ Linking RxSwift ▸ Compiling RxSwift_vers.c ▸ Linking ScrollableGraphView ▸ Generating 'ScrollableGraphView.framework.dSYM' ▸ Compiling RxSwift-dummy.m ▸ Linking RxSwift ▸ Generating 'RxSwift.framework.dSYM' ▸ Compiling Charts_vers.c ▸ Compiling Charts-dummy.m ▸ Compiling Charts_vers.c ▸ Linking Charts ▸ Compiling Charts-dummy.m ▸ Compiling IQKeyboardManagerSwift_vers.c ▸ Compiling IQKeyboardManagerSwift-dummy.m ▸ Compiling IQKeyboardManagerSwift_vers.c ▸ Linking IQKeyboardManagerSwift ▸ Compiling IQKeyboardManagerSwift-dummy.m ▸ Linking Charts ▸ Linking IQKeyboardManagerSwift ▸ Generating 'IQKeyboardManagerSwift.framework.dSYM' ▸ Touching ScrollableGraphView.framework (in target: ScrollableGraphView) ▸ Copying /Users/vagrant/git/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Resources/IQKeyboardManager.bundle ▸ Touching RxSwift.framework (in target: RxSwift) ▸ Processing RxCocoa-Info.plist ▸ Copying RxCocoa-umbrella.h ▸ Copying RxCocoa.h ▸ Copying _RXObjCRuntime.h ▸ Copying _RXKVOObserver.h ▸ Copying _RXDelegateProxy.h ▸ Copying _RX.h ▸ Copying RxCocoaRuntime.h ▸ Generating 'Charts.framework.dSYM' ▸ Compiling _RXObjCRuntime.m ▸ Compiling _RXKVOObserver.m ▸ Compiling _RXDelegateProxy.m ▸ Compiling _RX.m ▸ Compiling RxCocoa_vers.c ▸ Compiling RxCocoa-dummy.m ▸ Compiling _RXObjCRuntime.m ▸ Compiling _RXKVOObserver.m ▸ Linking RxCocoa ▸ Compiling _RXDelegateProxy.m ▸ Compiling _RX.m ▸ Compiling RxCocoa_vers.c ▸ Compiling RxCocoa-dummy.m ▸ Linking RxCocoa ▸ Touching IQKeyboardManagerSwift.framework (in target: IQKeyboardManagerSwift) ▸ Touching Charts.framework (in target: Charts) ▸ Generating 'RxCocoa.framework.dSYM' ▸ Touching RxCocoa.framework (in target: RxCocoa) ▸ Processing Pods-UtilityCosts-Info.plist ▸ Copying Pods-UtilityCosts-umbrella.h ▸ Compiling Pods-UtilityCosts-dummy.m ▸ Compiling Pods_UtilityCosts_vers.c ▸ Touching Pods_UtilityCosts.framework (in target: Pods-UtilityCosts) ▸ Running script '[CP] Check Pods Manifest.lock' ❌ /Users/vagrant/git/UtilityCosts/UtilityCostModel.swift:10:8: no such module 'RealmSwift' import RealmSwift ^ Last lines of the Xcode's build log: import RealmSwift ^ ** ARCHIVE FAILED ** The following build commands failed: CompileSwift normal arm64 CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (2 failures) You can find the last couple of lines of Xcode's build log above, but the full log is also available in the raw-xcodebuild-output.log The log file is stored in $BITRISE_DEPLOY_DIR, and its full path is available in the $BITRISE_XCODE_RAW_RESULT_TEXT_PATH environment variable (value: /Users/vagrant/deploy/raw-xcodebuild-output.log) Archive failed, error: exit status 65 | | +---+---------------------------------------------------------------+----------+ | x | xcode-archive@2.5.0 (exit code: 1) | 201 sec | +---+---------------------------------------------------------------+----------+ | Update available: 2.5.0 -> 2.6.0 | | Issue tracker: https://github.com/bitrise-steplib/steps-xcode-archive/issues | | Source: https://github.com/bitrise-steplib/steps-xcode-archive | +---+---------------------------------------------------------------+----------+
Workflow
試したこと
gitignoreにCarthage/を追加していたので
Carthage/を削除してCarthageフォルダごとプッシュした状態で試してみましたが
上記と同じエラーで解決できませんでした。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/08/13 07:08
2019/08/13 07:28 編集
2019/08/13 07:39
2019/08/13 08:59
2019/08/13 09:04