xcode6.1

How do we manually fix “ResourceRules.plist: cannot read resources” error after xcode 6.1 upgrade?

删除回忆录丶 提交于 2019-11-27 20:38:16
问题 We are having the same issue found here, here, here and here Basically we upgraded to xcode 6.1 and our build are getting the "ResourceRules.plist: cannot read resources" error. We have a Jenkins server that does our ios builds for us. We are using the Xcode plugin on Jenkins to do the actual build and signing. Any thoughts on how we can make this change without manually opening xcode and doing this solution found on the other answers: Click on your project > Targets > Select your target >

Installation Failed “Invalid argument” when trying to run Today application extension

痞子三分冷 提交于 2019-11-27 19:00:17
I added a vanilla Today Application Extension and run with the new scheme created by XCode. After it finishes building ("Build Succeeded" pops up), it failed straight away with this error: Installation Failed Invalid argument I've been trying to find answers for 6 hours now, no luck so far. Please help! Check if the Bundle Identifier isn't empty in the Info.plist Try this: Quit Xcode Clean out ~/Library/Developer/Xcode/DerivedData manually rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" iOS Simulator > Reset Content and Settings Maybe you are bundling a conflicting

Changing language on iOS 8.1 simulator does not work

醉酒当歌 提交于 2019-11-27 10:24:41
问题 If I change the language on an iOS 8.1 simulator to anything and try to detect this from code with NSString * language = [[NSLocale preferredLanguages] objectAtIndex:0]; NSLog(@"Language: %@", language); I get "en" back. I've tried resetting the navigator, etc. I've tried this using the iOS 7.1 runtime (in Xcode 5.1.1), and it worked fine. Has anyone managed to find a workaround to this problem? 回答1: According to the release notes this is a known issue. There is a work around. If you go to

Xcode project not showing list of simulators

99封情书 提交于 2019-11-27 09:50:10
问题 I open my project in Xcode 6.1. When I try to run the project, the button is grayed out. When I try to go to Product > Clean , the option is grayed out. When I look at the list of simulators, all I get is My Mac instead of the usually iOS Device . How do I get my simulators to come back? 回答1: Click on the project name (Right to the Run button). Three options will appear. Edit scheme New scheme Manage scheme You can click on "New scheme" and then click on "OK" in popup window. You will have

iOS app 'The application could not be verified' only on one device

南笙酒味 提交于 2019-11-27 09:18:14
问题 I have two iphone devices( 4s and 5 ) connected to my computer and i am trying to install an application in both the devices. It installs pretty well in iphone 5 but it gives an error ' The application could not be verified .' when attempted to install in the iphone 4s device. The UDIDs of both the devices have been added in the provisioning profile generated for the application. Also, to add a note, I have just updated my iphone version to 8.1.3 in my 4s device. I am not sure though if the

Swift Xcode Index Freezing or Slow

不羁岁月 提交于 2019-11-27 06:28:25
Maybe this is just me experiencing such an annoying "feature": After upgrading from Xcode 6.0.1 to Xcode 6.1, things changed. Xcode 6.1 is forever indexing the project or compiling source files. The project is not a huge one. It just contains a bunch of Swift files and AWS SDK 2.0 Cocoapods in the workspace. I don't think it should prevent the whole to index and compile smoothly. I tried with some aws-sdk-ios-samples, just to see how Xcode 6.1 works on them, and it ended up in the same forever waiting. What solutions I have tried so far: Deleting "Derived Data" in the Organizer, and re-open

Error: Error Domain=NSURLErrorDomain Code=-1001 “The request timed out.”

匆匆过客 提交于 2019-11-27 04:48:08
I am working on an application in Xcode 6.1, iOS 8.1; the application was working completely fine till 2 days before, but today as I executed it I got an error in the web service & the error is printed below. Error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x7c6899b0 {NSErrorFailingURLStringKey=, NSErrorFailingURLKey=, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x7c688f60 "The request timed out."} I had used AFNetworking 2.x and following code snippet to make network call: AFHTTPRequestOperationManager *manager =

NSFontAttributedString worked before XCode 6.1

安稳与你 提交于 2019-11-27 02:16:22
let timeFont = [NSFontAttributeName:UIFont(name: "Voyage", size: 20.0)] var attrString3 = NSAttributedString("(Time)", attributes : timeFont); // <--- compiler error "Extra argument in call" This code worked in xcode 6.0, but now that I've upgraded to xcode 6.1 it doesn't work anymore and I can't figure out what I need to get it back working. It says that there is an extra argument, but that's not correct. I believe that it has something to do with the new failable initializers, but everything that I've tried doesn't' work. Xcode 6.1 comes with Swift 1.1 that supports constructors that can

Installation Failed “Invalid argument” when trying to run Today application extension

雨燕双飞 提交于 2019-11-26 19:42:30
问题 I added a vanilla Today Application Extension and run with the new scheme created by XCode. After it finishes building ("Build Succeeded" pops up), it failed straight away with this error: Installation Failed Invalid argument I've been trying to find answers for 6 hours now, no luck so far. Please help! 回答1: Check if the Bundle Identifier isn't empty in the Info.plist 回答2: Try this: Quit Xcode Clean out ~/Library/Developer/Xcode/DerivedData manually rm -rf "$(getconf DARWIN_USER_CACHE_DIR)

XCode 6.1 Missing required architecture X86_64 in file

依然范特西╮ 提交于 2019-11-26 18:39:09
In XCode 6.1 , I am getting error for iPhone 6, iPhone 5s(iOS 7.1) which says Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ClientAuthenticator", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture x86_64 linker command failed with exit code 1 This is what I have for architecture settings perspective Architectures : Standard Architectures(armv7, arm64) - $(ARCHES_STANDARD) Base SDK : Latest iOS(8.1) Valid Architectures: arm64, armv7, armv7s IOS Deployment Target: iOS 6.0 Recently I updated my OS to Yosemite and XCode from 6.0 to 6.1. I have