但是当我要验证时:
$> pod lib lint --allow-warnings --verbose --no-clean
代码我得到这个错误.这似乎是与该方案相关的架构问题,但我没有运气弄清楚设置中的错误.
** BUILD Failed ** The following build commands Failed:Ld /Users/marcsu/library/Developer/Xcode/DerivedData/App-eszacdypuufiakgbloohgxurnwhy/Build/Intermediates/App.build/Release-iphonesimulator/App.build/Objects-normal/i386/App normal i386Ld /Users/marcsu/library/Developer/Xcode/DerivedData/App-eszacdypuufiakgbloohgxurnwhy/Build/Intermediates/App.build/Release-iphonesimulator/App.build/Objects-normal/x86_64/App normal x86_64CreateUniversalBinary /Users/marcsu/library/Developer/Xcode/DerivedData/App-eszacdypuufiakgbloohgxurnwhy/Build/Products/Release-iphonesimulator/App.app/App normal i386\ x86_64GenerateDSYMfile /Users/marcsu/library/Developer/Xcode/DerivedData/App-eszacdypuufiakgbloohgxurnwhy/Build/Products/Release-iphonesimulator/App.app.dSYM /Users/marcsu/library/Developer/Xcode/DerivedData/App-eszacdypuufiakgbloohgxurnwhy/Build/Products/Release-iphonesimulator/App.app/AppCodeSign /Users/marcsu/library/Developer/Xcode/DerivedData/App-eszacdypuufiakgbloohgxurnwhy/Build/Products/Release-iphonesimulator/App.app(5 failures)Testing with xcodebuild.
检查完所有依赖项后.问题是使用de GoogleMaps.framework,GoogleMapscore.framework& s.vendored_frameworks中的GoogleMapsBase.framework
还没有解决方案……
解决方法 经过很长一段时间的安静,我们整理出来解决问题.我们在POD中使用GoogleMaps库手动包含GoogleMaps.framework,GoogleMapsBase.framework和GoogleMapscore.framework. (我们不能将它用作常规pod依赖项,因为与其他swift库冲突)另外我们在哪里使用谷歌地图utils库.
https://github.com/googlemaps/google-maps-ios-utils
我们在s.public_header_files引用中包含此库的头文件作为公共头文件库.这会导致那些验证错误.
无论如何,如果有人遇到同样的问题,我会把我的podspec文件放在这里.谢谢大家,随时评论.
Pod::Spec.new do |s| s.name = 'Core' s.version = '0.1.0' s.summary = 'Core. Core APP for APPS.' s.description = <<-DESC Core is the heart of all the APPS instances and APPS. Includes all the major assets and the resources for optimize all the system. Anyway the wind blows. DESCs.homepage = 'https://core.git'# s.screenshots = 'www.example.com/screenshots_1','www.example.com/screenshots_2's.license = { :type => 'MIT',:file => 'liCENSE' }s.author = { 'MoblIE Department' => '[email protected]' }s.source = { :git => 'https://core.git',:tag => s.version.to_s }s.ios.deployment_target = '8.0'#tot el codi que s'ha de compilars.source_files = 'Core/Classes/**/*.{h,m,swift}','Core/PrivateClasses/GoogleAnalytiCSServices/*.h','Core/PrivateClasses/GoogleConversionTracking/**/*.h','Core/PrivateClasses/GoogleMapsUtils/**/*.{h,m}','Core/PrivateClasses/Zlib/*.h','Core/PrivateClasses/XMLParser/*.h's.requires_arc = true#les classes que seran publiquess.public_header_files = 'Core/Classes/**/*.h','Core/PrivateClasses/GoogleAnalytiCSServices/*.h' 'Core/PrivateClasses/GoogleConversionTracking/*.h' 'Core/PrivateClasses/XMLParser/*.h' 'Core/PrivateClasses/Zlib/*.h's.framework = 'CoreData','SystemConfiguration','Accelerate','CoreGraphics','CoreLocation','CoreText','GLKit','ImageIO','OpenGLES','QuartzCore','UIKit','AdSupport's.vendored_framework = 'Core/DependencIEs/GoogleMaps.framework','Core/DependencIEs/GoogleMapsBase.framework','Core/DependencIEs/GoogleMapscore.framework','Core/DependencIEs/Crashlytics.framework','Core/DependencIEs/Fabric.framework's.vendored_librarIEs = 'Core/PrivateClasses/GoogleAnalytiCSServices/*.a','Core/PrivateClasses/GoogleConversionTracking/*.a's.xcconfig = {'OTHER_LDFLAGS' => '-ObjC','CLANG_ALLOW_NON_MODulAR_INCLUDES_IN_FRAMEWORK_MODulES' => 'YES','FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(SRCROOT)','header_SEARCH_PATHS' =>'$(inherited) $(SDKROOT)/usr/include/libxml2 $(SRCROOT)','ARCHS' => '$(inherited)','VALID_ARCHS' =>'$(inherited)'}s.library = 'z','c++','xml2' s.resource_bundles = { 'Core' => ['Core/**/*.{png,jpg,xib,strings}'] }s.dependency 'floaty','~> 3.0.0's.dependency 'Charts','~> 3.0.2's.dependency 'AFNetworking','~> 3.1.0's.dependency 'MBProgressHUD's.dependency 'FBSDKLoginKit','~> 4.11's.dependency 'FBSDKShareKit','~> 4.11's.dependency 'NSHash','~> 1.1's.dependency 'UITextFIEld+Shake','~> 1.1's.dependency 'UIVIEw+Shake','~> 1.1's.dependency 'SVPullToRefresh's.dependency 'SDWebImage','~> 3.8's.dependency 'AQSInstagramActivity','~> 0.1's.dependency 'AQSTwitteractivity','~> 0.1's.dependency 'SSZipArchive','~> 1.8.1's.dependency 'UIAlertVIEw+Blocks','~> 0.9's.dependency 'UIActionSheet+Blocks','~> 0.9's.dependency 'FSlineChart','0.1.4's.dependency 'PESGraph','~> 0.2's.dependency 'UIScrollVIEw+Direction','~> 1.0's.dependency 'SMCalloutVIEw','~> 2.1's.dependency 'EDSemver','~> 0.3's.dependency 'UIbutton+MIDdleAligning's.dependency 'UIVIEw+border','~> 1.0's.dependency 'LCBannerVIEw's.dependency 'XLForm's.dependency 'MBProgressHUD's.dependency 'sqlite3'end总结
以上是内存溢出为你收集整理的ios – COCOAPODS验证i386错误全部内容,希望文章能够帮你解决ios – COCOAPODS验证i386错误所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)