简体   繁体   English

执行连续集成时找不到头文件

[英]Header files not found when performing continuous integration

I am using a private cocoa pod and the project builds and runs fine, the issue is happening when I try to run a bot in an integration. 我正在使用一个私人可可豆荚,并且该项目构建并运行良好,当我尝试在集成中运行机器人时出现了问题。 I am just started to setup a build server (using OS X server and Xcode). 我刚刚开始设置构建服务器(使用OS X服务器和Xcode)。

Here is one of the errors: Bot Issue for HM Mobile Assets Bot (error in APIClient.h:10) Integration #4 of HM Mobile Assets Bot Open in Xcode: xcbot://Xcode CI Server/botID/6b81ceecaf09d4f1f4bdc2c592001f27/integrationID/6b81ceecaf09d4f1f4bdc2c5920c5565 这是错误之一:HM移动资产Bot的Bot问题(APIClient.h:10中的错误)HM移动资产Bot的集成#4在Xcode中打开:xcbot:// Xcode CI Server / botID / 6b81ceecaf09d4f1f4bdc2c592001f27 / integrationID / 6b81ceecaf09d4f1f4bc24

Assertion: 'SAKKit/HMAPIClient.h' file not found File: mobile-assets-ios/HM Mobile Assets/Application Classes/APIClient.h:10 断言:找不到'SAKKit / HMAPIClient.h'文件文件:mobile-assets-ios / HM移动资产/应用程序类/APIClient.h:10

Introduced 3 integrations ago 引入了3种集成方式

Full logs for this integration are attached. 随附此集成的完整日志。

Here is the log: 这是日志:

=== ANALYZE TARGET HM Mobile Assets OF PROJECT HM Mobile Assets WITH CONFIGURATION Release === ===使用配置版本分析项目HM移动资产的目标HM移动资产===

CompileC /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/Objects-normal/i386/Unit.o HM\\ Mobile\\ Assets/Model\\ Classes/Unit.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios export LANG=en_US.US-ASCII export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/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 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Library/Developer/XcodeServe CompileC /库/开发人员/ XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Intermediates / HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets.build/Objects-normal/i386/Unit.o HM \\ Mobile \\ Assets / Model \\ Classes / Unit.m正常的i386 Objective-c com.apple.compilers.llvm.clang.1_0.compiler cd / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets- ios export LANG = en_US.US-ASCII export PATH =“ / Applications / Xcode.app / Contents / Developer / Platforms / iPhoneSimulator.platform / Developer / 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 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit = 0 -std = gnu99 -fobjc-arc -fmodules -fmodules-cache -path = /库/开发人员/ XcodeServe r/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion r / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / ModuleCache -fmodules-prune-interval = 86400 -fmodules-prune-after = 345600 -fbuild-session-file = / Library / Developer / XcodeServer / Integrations / Caches / 6b2edc44De2 /Session.modulevalidation -fmodules-validate-on-per-per-build-session -Wnon-modular-include-in-framework-module -Werror = non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror =返回类型-Wunreachable代码-Wno-implicit-atomic-properties -Werror =不推荐使用-objc-isa-usage -Werror = objc根类-Wno重复使用弱化-Wduplicate-方法匹配-Wno-missing-branchs-括号-Wswitch -Wunused函数-Wnounused标签-Wnounused参数-Wunused变量-Wunused值-Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-四个字符常量-Wno转换-Wconstant转换-Wint转换 -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -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-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=9.0 -g -fvisibility=hidden -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/HM\\ Mobile\\ Assets-generated-files.hmap -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/HM -Wbool转换-Wenum转换-Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implements -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-blocks -fstrict-aliasing -Wprotocol -declarations -mios-simulator-version-min = 9.0 -g -fvisibility =隐藏-Wno-sign-conversion -fobjc-abi-version = 2 -fobjc-legacy-dispatch -iquote / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Intermediates / HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets.build/HM \\ Mobile \\ Assets-generated-files.hmap -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Intermediates / HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets.build/HM \\ Mobile\\ Assets-own-target-headers.hmap -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/HM\\ Mobile\\ Assets-all-target-headers.hmap -iquote /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/HM\\ Mobile\\ Assets-project-headers.hmap -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Products/Release-iphonesimulator/include -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/AFNetworking -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d \\ Mobile \\ Assets-own-target-headers.hmap -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Intermediates / HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets .build / HM \\ Mobile \\ Assets-all-target-headers.hmap -iquote / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Intermediates / HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets.build/HM \\ Mobile \\ Assets-project-headers.hmap -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Products / Release-iphonesimulator / include -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001fets / Heads / Source / AFNetworking -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d 4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/AFOAuth2Manager -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/Crashlytics -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/Fabric -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/MBProgressHUD -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/MagicalRecord -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/SAKKit -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/SSKeychain -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f 4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public / AFOAuth2Manager -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Irashs / P Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public / Fabric -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4ets-27 Pods / Headers / Public / MBProgressHUD -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public / MagicalRecord -I / Library / Developer / XcodeServer / Integration 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public / SAKKit -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pic库/开发人员/ XcodeServer /集成/缓存/ 6b81ceecaf09d4f 1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/DerivedSources/i386 -I/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/DerivedSources -F/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Products/Release-iphonesimulator -F/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Crashlytics/iOS -F/Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Fabric/iOS -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-i 1f4bdc2c592001f27 / DerivedData / Build / Intermediates / HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets.build/DerivedSources/i386 -I / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bDC2c59中介/ HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets.build/DerivedSources -F / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Products / Release-iphonesimulator库/开发人员/ XcodeServer /集成/缓存/ 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Crashlytics / iOS -F / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdcets / ios-Mobile Fabric / iOS -isystem /库/开发人员/ XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public -isystem / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf0924f1b资产一 os/Pods/Headers/Public/AFNetworking -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/AFOAuth2Manager -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/Crashlytics -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/Fabric -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/MBProgressHUD -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/MagicalRecord -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/SAKKit -isystem /Library/Developer/XcodeServer/Integrations/Caches/6b81ce os / Pods / Headers / Public / AFNetworking -isystem / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public / AFOAuth2Manager -isystem / Library / tegration / Developer / Xcode缓存/ 6b81ceecaf09d4f1f4bdc2c592001f27 /源/ mobile-assets-ios / Pods / Headers / Public / Crashlytics -isystem / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / Pose-Fabs ISYSTEM /库/开发商/ XcodeServer /集成/缓存/ 6b81ceecaf09d4f1f4bdc2c592001f27 /来源/移动资产IOS /荚/头/公/ MBProgressHUD -isystem /库/开发商/ XcodeServer /集成/缓存/ 6b81ceecaf09d4f1f4bdc2c592001f27 /来源/移动资产 - ios / Pods / Headers / Public / MagicalRecord -isystem / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public / SAKKit -isystem / Library / Developer / Integras / Inners / XcodeServer缓存/ 6b81ce ecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/Pods/Headers/Public/SSKeychain -MMD -MT dependencies -MF /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/Objects-normal/i386/Unit.d --serialize-diagnostics /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/Objects-normal/i386/Unit.dia -c /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/HM\\ Mobile\\ Assets/Model\\ Classes/Unit.m -o /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/DerivedData/Build/Intermediates/HM\\ Mobile\\ Assets.build/Release-iphonesimulator/HM\\ Mobile\\ Assets.build/Objects-normal/i386/Unit.o ecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / Pods / Headers / Public / SSKeychain -MMD -MT依赖项-MF / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / HMDS \\ HM。 / Release-iphonesimulator / HM \\ Mobile \\ Assets.build/Objects-normal/i386/Unit.d-序列化诊断/ Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Intermediates / HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets.build/Objects-normal/i386/Unit.dia -c / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / HM \\ Mobile \\ Assets / Model \\ Classes / Unit.m -o / Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / DerivedData / Build / Intermediates / HM \\ Mobile \\ Assets.build/Release-iphonesimulator/HM \\ Mobile \\ Assets。构建/对象正常/i386/Unit.o

In file included from /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/HM Mobile Assets/Model Classes/Unit.m:11: /Library/Developer/XcodeServer/Integrations/Caches/6b81ceecaf09d4f1f4bdc2c592001f27/Source/mobile-assets-ios/HM Mobile Assets/Application Classes/APIClient.h:10:9: fatal error: 'SAKKit/HMAPIClient.h' file not found 在/ Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf09d4f1f4bdc2c592001f27 / Source / mobile-assets-ios / HM Mobile Assets / Model Classs / Unit.m中包含的文件中:11:/ Library / Developer / XcodeServer / Integrations / Caches / 6b81ceecaf4d27f / Source / mobile-assets-ios / HM移动资产/应用程序类/APIClient.h:10:9:致命错误:找不到“ SAKKit / HMAPIClient.h”文件

import 进口

    ^

1 error generated. 产生1个错误。

Never got this to work with a local pod. 从来没有将此与本地吊舱一起使用。 File path issues abounded. 文件路径问题比比皆是。 Finally decided to adjust the podspec to pull from our private git repo. 最终决定调整podspec以从我们的私人git repo中提取。 After doing this and making the needed changes in the Podfile, this works now. 在完成此操作并在Podfile中进行了必要的更改后,现在可以使用了。 If you are trying to use a local private cocoapod and have path issues when running an integration, move the reference to a git server somewhere and adjust the Podfile. 如果您尝试使用本地私有cocoapod,并且在运行集成时遇到路径问题,请将引用移至某个git服务器,然后调整Podfile。 For reference here is my podspec: 供参考的是我的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 

And here is the Podfile for the workspace: 这是工作区的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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM