Tag: xcode7

Xcode 7错误ITMS-90474:“无效的软件包”,无法提交给苹果

我有一个应用程序,我试图提交给苹果。 我已经validation过了。 我正在使用Xcode 7和Swift 2.当我尝试提交给苹果,我得到以下错误: 错误ITMS-90474:“Bundle Invalid。iPad多任务支持需要定位:'UIInterfaceOrientationPortrait,UIIinterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'。在包中find'UIInterfaceOrientationPortrait'。 我该怎么办? 我用他们要求的名字做一些图像吗?

如何使用Bitcode启用xcodebuild静态库?

Xcode 7引入了Bitcode ,它是某种LLVM中间二进制代码,意味着苹果公司的服务器可以在不需要我参与的情况下重新编译我的应用程序以适应不同的体系结构。 在Lookback中,我使用我们的库分发静态归档框架。 看起来,当你用“Build&Archive”构build任何东西的时候,bitcode实际上并没有发射到我的库中,任何人在我们的应用程序中链接到我的库并尝试使用Bitcode创build和存档将得到两个警告: ld: 'Lookback(Lookback.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. (如果lib是用Xcode 6编译的) ld: warning: full bitcode bundle could not be generated because 'Lookback(Lookback.o)' was built only with bitcode marker. The library […]

Xcode 7 iOS 9 UITableViewCell分隔符插入问题

这不是一个问题,而是解决我面临的问题。 在Xcode 7中,当应用程序在iPad设备上的iOS 9上运行时,UITableView单元格会在表格视图的左侧留下一些空白。 而将设备旋转到风景会增加利润。 我find的解决scheme是: 将“cellLayoutMarginsFollowReadableWidth”设置为NO。 self.tbl_Name.cellLayoutMarginsFollowReadableWidth = NO; 因为,这个属性只在iOS 9中可用。所以,你将不得不放置一个条件来检查iOS版本,否则会崩溃。 if(NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_8_1) { self.tbl_Name.cellLayoutMarginsFollowReadableWidth = NO; } 希望对别人有帮助。

无法validation客户端3000

我正在使用xcode 7.1并试图通过xcode直接上传我的应用程序到应用程序商店。 上传时,我得到一个奇怪的错误: – 无法validation客户端3000 注意: – 我最近在账户中进行了更改(xcode首选项部分)。 这是关系到我的错误? 我也重新启动Xcode,但问题仍然存在? 我已经检查了这个问题 ,但他们说重新启动你的xcode。 但是这并不能解决我的问题。

“找不到开发人员磁盘映像”

最近我得到错误:“找不到开发者磁盘映像” 我认为这是因为我已经在iPhone上更新了iOS 9.1。 我该如何解决这个问题,使Xcode支持iOS 9.1设备?

XCODE 7和ENABLE_BITCODE = YES设置不起作用

我已经跟随了Xcode的新的ENABLE_BITCODE设置的几个线程,也尝试尽可能多(承认我不是一个xcode专业版),但仍然不能得到项目编译用于我的testing手机? 我的应用程序在模拟器上运行良好,但我无法将其部署到我的iPhone上进行testing。 后一个我刚刚安装了iOS 9testing版。 现在,这是我收到的错误消息。 看来这个设置不影响PARSE.com库,这是我的项目的一部分? 我怎样才能让我的项目部署到我的手机? 感谢您的任何build议。 Ld /Users/xxxxxx/Library/Developer/Xcode/DerivedData/graffiti- bnmizxueojwiqcbbnsvilljhosrw/Build/Products/Debug-iphoneos/Pods/Parse.framework/Parse normal armv7 cd /Users/xxxxxx/Documents/DigitalTempusDev/graffiti/Pods export IPHONEOS_DEPLOYMENT_TARGET=8.0 export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -dynamiclib -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -L/Users/xxxxxx/Library/Developer/Xcode/DerivedData/graffiti-bnmizxueojwiqcbbnsvilljhosrw/Build/Products/Debug-iphoneos/Pods -L/Users/xxxxxx/Documents/DigitalTempusDev/graffiti/Pods/Parse -F/Users/xxxxxx/Library/Developer/Xcode/DerivedData/graffiti-bnmizxueojwiqcbbnsvilljhosrw/Build/Products/Debug-iphoneos/Pods -filelist /Users/xxxxxx/Library/Developer/Xcode/DerivedData/graffiti-bnmizxueojwiqcbbnsvilljhosrw/Build/Intermediates/Pods.build/Debug-iphoneos/Pods-Parse.build/Objects-normal/armv7/Parse.LinkFileList -install_name @rpath/Parse.framework/Parse -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -fembed-bitcode-marker -ObjC -lParseLib -lz -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework […]

Google Analytics libAdIdAccess.a不包含位码

Xcode 7 beta 3只是安装了一些“附加组件”(现在版本7.0 beta 3(7A152u)),现在我得到一个编译器错误: ld: '/<abbreviated>/Vendor/Analytics/GoogleAnalytics/libAdIdAccess.a(TAGActualAdIdAccess.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) 这个Google Code的post是我唯一发现的GA和bitcode。 如果我只能禁用这个库,而不是完全禁用位代码将会很好。 […]

使用Objective C在iOS 9中将状态栏文本颜色更改为光照

如何更改iOS 9中的状态栏文字颜色。 如何将状态栏的文字颜色更改为白色 请帮帮我。 谢谢。

iOS9故事板什么是未处理的动作(handleNonLaunchSpecificActions)?

我注意到在使用故事板时在iOS 9上运行我的应用程序时,在控制台中popup以下错误。 我正在使用xCode7。 这是我需要关心的吗? -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ** unhandled action -> <FBSSceneSnapshotAction: 0x176bfb20> { handler = remote; info = <BSSettings: 0x176a5d90> { (1) = 5; }; }

Xcode 7库searchpath警告

这是它显示的警告: 找不到选项'-F / Applications / Xcode-beta.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / SDKs / iPhoneOS9.0.sdk / Developer / Library / Frameworks'“ 任何人都可以帮助解决警告?