2016-07-07 6 views
0

プライベートなココアポッドを使用していて、プロジェクトが正常に構築されて実行されている場合、統合でボットを実行しようとすると問題が発生します。私はちょうど(OS XサーバーとXcodeを使用して)ビルドサーバーをセットアップし始めている。ここ継続的インテグレーションを実行するとヘッダファイルが見つかりません

エラーのいずれかである:XcodeでHMモバイル資産ボット オープンの統合#4:HMモバイル資産ボット(10 APIClient.hの誤差)のため ボット問題xcbot:// XcodeのCIサーバ/ BOTID/6b81ceecaf09d4f1f4bdc2c592001f27/integrationID/6b81ceecaf09d4f1f4bdc2c5920c5565

アサーション: 'SAKKit/HMAPIClient.h' ファイルが ファイルが見つかりません:モバイル・資産-IOSを/ HMモバイル資産/アプリケーションクラス/ APIClient.h:10

導入3積算前

この統合のフルログが添付されています。ここで

はログです:

=== CONFIGURATIONリリースでプロジェクトHMモバイル資産のTARGET HMモバイル資産をANALYZE ===

CompileC /ライブラリ/開発/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/HM \ Mobile \ Assets.build/Release-iphonesimulator/HM\Mobile/Assets.build/Objects-normal/i386/Unit.o HM \ Mobile \ Assets/Model \ Classes/Unit.m通常i386/DerivedData /ビルド/中間体/ HM \ objective-c com.apple.compilers.llvm.clang.1_0.compiler cd/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios export LA NG = en_US.US-ASCII export PATH = "/アプリケーション/ Xcode.app /コンテンツ/開発者/プラットフォーム/ iPhoneSimulator.platform /開発者/ usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin: /Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin " /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length = 0 -fiagnostics-show-note-include-stack -fmacro-backtrace-limit = 0 -std = gnu99 -fobjc-arc -fmodules -fmodules-cache -path = /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/ModuleCache -fmodules-prune-interval = 86400 -fmodules-prune-after = 345600 -fbuild-session-file = /ライブラリ/ Developer/XcodeServer/Integrations /Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/ModuleCache/Session.modulevalidation -fmodules-valid-once-per-build-session -Wnon-modular-include-framework-module -Werror = non-mフレームワークモジュールに含まれています。-no-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror = return-type -Wrereachable-code -Wno-暗黙のアトミックプロパティー--Werror =廃止予定 - objc-isa-usage-Werror = objc-root-class -Wno-arc-repeated-of-weak -Wduplicate-method-match -Wno-missing-braces -Wraphesises - Wswitch -Wunused-function -Wno-unused-label -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-定数-Wno-conversion -Wconstant-Conversion -Wint -Waw-conversion -Wenum-変換-Wshorten-64 -32 -Wointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector- match -Wundeclared-selector -Wo-deprecated-implemented -DCOCOAPODS = 1 -DNS_BLOCK_ASSERTIONS = 1 -DOBJC_OLD_DISPATCH_PROTOTYPES = 0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3。 sdk -fasm-bloc ks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min = 9.0 -g -fvisibility = hidden -Wo-sign-conversion -fobjc-abi-version = 2 -fobjc-legacy-dispatch -iquote /ライブラリ/開発者/ XcodeServer /インテグレーション/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData /ビルド/中間体/ HM \ Mobile \ Assets.build /リリース - iPhoneシミュレータ/HM \ Mobile \ Assets.build/HM \ Mobile \ Assets-generated-files.hmap - I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM \ Mobile \ Assetsが含まれます。ビルド/中間体/ HM /ビルド/中間層/ HM \ Mobile \ Assets.build/HM \ Mobile \ Assets-own-target-headers.hmap -I /ライブラリ/開発者/ XcodeServer /インテグレーション/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ライブラリ/デベロッパー/ XcodeServer /インテグレーション/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData /ビルド/モバイル/ Assets.build/Release-iphonesimulator/HM\Mobile/Assets.build/HM\Mobile\Assets-すべてのターゲットヘッダー。 /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Intermediates/HM \ Mobile \ Assets.build/Release-iphonesimulator/HM\Mobile/Assets.build/HM\Mobile/Assets-project-headers.hmap -I/iosimulator/include -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public -I /ライブラリ/開発者/ XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダー/パブリック/ AFNetworking -I/Librar /ライブラリ/開発者/ XcodeServer /インテグレーション/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios/Pods /ヘッダー/パブリック/ AFOAuth2Manager -I /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダー/パブリック/ファブリック-I /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ポッド/ヘッダー/パブリック/ 6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/MBProgressHUD -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダ/パブリック/ MagicalRecord -I /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダー/パブリック/ SAKKit -I /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダー/パブリック/ SSKeychain -I /ライブラリ/開発元/ XcodeServer/Integrations /キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData /ビルド/中間体/ HM \ Mobile \ Assets.build /リリース - iPhoneシミュレータ/HM\Mobile/Assets.build/DerivedSources/i386 -I/Library/Developer/XcodeServer/Integrations /キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData /ビルド/中間体/ HM \ Mobile \ Assets.build/Release-iphonesimulator/HM\Mobile/Assets.build/DerivedSources -F/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build /製品/リリース - iphonesimulator -F /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/クラッシュマティック/ iOS -F /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /モバイル資産-ios/Pods/Fabric/iOS-システム/ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダー/パブリックシステム/ライブラリ/開発者/ XcodeServer/Integrations /キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/Crashlytics -isystem /ライブラリ/開発者/ XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産 - ios /ポッド/ヘッダー/パブリック/ MBProgressHUD - システム/ライブラリ/開発者/ XcodeServer/Integrations /キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダー/パブリック/ MagicalRecord-システム/ライブラリ/開発者/ XcodeServer /インテグレーション/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダー/パブリック/ SAKKit - システム/ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-ios /ポッド/ヘッダー/パブリック/ SSKeychain -MMD -MT依存関係-MF /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData /ビルド/中間製品/ HM \ Mobile \ Assets.build /リリース - iPhone/HM \ Mobile \ Assets.build /オブジェクト - ノーマル/ i386/Unit.d - /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /派生データ/ビルド/中間体/ HM \ Mobile \ Assets.build /リリース-iphonesimulator /HM\Mobile/Assets.build/Objects-normal/i386/Unit.dia -c /ライブラリ/開発者/ /ライブラリ/開発者/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM \ Mobile \ Assets.buildこのページは、機械翻訳ソフトウェア、ここをクリックして英語版を得るために変換されます。/Release-iphonesimulator/HM \ Mobile \ Assets.build/Objects-normal/i386/Unit。11::Oファイルで

は/ライブラリ/開発/ XcodeServer /統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-IOS/HMモバイル資産/モデル・クラス/ Unit.mから含ま /ライブラリ/開発/ XcodeServerを/統合/キャッシュ/ 6b81ceecaf09d4f1f4bdc2c592001f27 /ソース/モバイル資産-IOS/HMモバイル資産/アプリケーションクラス/ APIClient.h:10:9:致命的なエラー:見つからない 'SAKKit/HMAPIClient.h' ファイル

輸入

^

1エラーが発生しました。

答えて

0

これは、ローカルポッドでは使用できません。ファイルパスの問題が大量に発生しました。最後に、podspecをプライベートgitリポジトリから引き出すように調整することに決めました。これを実行し、Podfileに必要な変更を加えた後、これは今動作します。もしあなたがローカルプライベートココアポッドを使用しようとしていて、統合を実行するときにパスの問題があるなら、参照をgitサーバにどこかで移動し、Podfileを調整してください。参考のためにここに私のpodspecです:

Pod::Spec.new do |s| 
    s.name  = "SAKKit" 
    s.version = "1.0.0" 
    s.summary = "SUMMARY HERE" 
    s.source = { :git => "https://YOURGITSERVER/sakkit-ios.git" } 
    s.platform  = :ios, '8.0' 
    s.requires_arc = true 
    s.author = { "NAME" => "EMAIL" } 
    s.homepage  = "HOMEPAGE" 
    s.public_header_files = 'SAKKit/**/*.h' 
    s.source_files = 'SAKKit/**/*.{h,m}' 

    s.dependency 'AFNetworking', '2.6.3' 
    s.dependency 'AFOAuth2Manager' 
    s.dependency 'SSKeychain' 

end 

そして、ここではワークスペースのPodfileされています:

target 'MYAPP-Prod' do 
    pod 'SAKKit', :git => 'https://YOURGITSERVER/sakkit-ios.git' 
    pod 'Fabric' 
    pod 'Crashlytics' 
end 

target 'MYAPP-InHouse' do 
    pod 'SAKKit', :git => 'https://YOURGITSERVER/sakkit-ios.git' 
    pod 'Fabric' 
    pod 'Crashlytics' 
end 
関連する問題