xcode6.1

None of the valid provisioning profiles include the devices

雨燕双飞 提交于 2019-11-29 09:09:53
I have removed some of the devices from the provisioning profile from apple portal for adhoc distribution and downloaded and installed it in xcode 6. But upon archiving the project it shows the error for missing devices and invalid provisioning profile . I have wasted 3-4 hours regarding this issue but found no luck. Any kind of help would be greatly appreciated. Perlguy I just had this error as well. I am not sure if all of these steps are required, but the is exactly what I did to fix it, and it worked for me... On the device, I removed the provisioning profile that was in General -> Profile

Fatal Error: Array Index out of range in Swift Xcode6

北城以北 提交于 2019-11-29 05:17:31
I keep getting this error in my func I'm trying to read the value in array answerRecord. I uses a global var arrayCount, which keep track which index im currently pointing to. func buttonColourControl(){ switch answerRecord[arrayCount]{ case1: xxxxxxx I did a println in my earlier func and it return a value of int 1 for the var arrayCount Therefore arrayCount is not empty. So it should be able to interpret the array as: *assuming arrayCount is now 1 answerRecord[arrayCount] should be interpreted as answerRecord[1] Please correct me if im wrong @IBAction func nextButtonClicked(sender: UIButton)

retrieving core data into tableview cells swift

亡梦爱人 提交于 2019-11-28 23:42:54
I am trying to simply store and retrieve CoreData (something that I've done successfully before with swift). I was getting a nil for data, but now (not sure what changed) I'm not getting an error, just nothing showing in the tableview. I'm not sure if it's a problem in storing or retrieving the object. I've followed how I did it in another app of mine as closely as possible, but there seems to be some fundamental thing that I'm not getting. Here's what I have. My model: import Foundation import CoreData @objc(DataModel) class DataModel: NSManagedObject { @NSManaged var itemName: String

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

↘锁芯ラ 提交于 2019-11-28 20:03:19
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 > Build Settings > Code Signing Resource Rules Path and add : $(SDKROOT)/ResourceRules.plist I'm very new

Changing language on iOS 8.1 simulator does not work

天大地大妈咪最大 提交于 2019-11-28 17:21:35
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? According to the release notes this is a known issue. There is a work around. If you go to "Edit Scheme..." then the "Options" tab there's an "Application Language" option. This only affects the

Xcode project not showing list of simulators

China☆狼群 提交于 2019-11-28 16:36:48
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? 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 simulators list back. Make sure that the project you are trying to run has deployment target equal to or less

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

北慕城南 提交于 2019-11-28 15:36:15
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 error has anything to do with it. Any help on this would be much appreciated. I have been stuck on this

iOS 8.1 Simulator Localization broken (NSLocalizedString)

萝らか妹 提交于 2019-11-28 03:17:16
TL;DR: It seems localization does not work with xCode 6.1 and 8.1 simulator. Workaround: Go to "edit schemes" >> "Run" (side bar) >> "Options" tab >> "Application Language" Select the language you wish to run the app on the simulator. Long Story: I've updated xCode to 6.1. The update deleted the iOS 7.x simulators and left me only with 8.x simulator. I've done the following steps: I've installed the 7.x simulator Cleaned the project Deleted the app from the simulators Deleted the derived folder for my project The project supports English and Japanese. on 7.1 simulator (5s) the localization

None of the valid provisioning profiles include the devices

人走茶凉 提交于 2019-11-28 02:33:29
问题 I have removed some of the devices from the provisioning profile from apple portal for adhoc distribution and downloaded and installed it in xcode 6. But upon archiving the project it shows the error for missing devices and invalid provisioning profile . I have wasted 3-4 hours regarding this issue but found no luck. Any kind of help would be greatly appreciated. 回答1: I just had this error as well. I am not sure if all of these steps are required, but the is exactly what I did to fix it, and

Fatal Error: Array Index out of range in Swift Xcode6

本秂侑毒 提交于 2019-11-27 22:43:11
问题 I keep getting this error in my func I'm trying to read the value in array answerRecord. I uses a global var arrayCount, which keep track which index im currently pointing to. func buttonColourControl(){ switch answerRecord[arrayCount]{ case1: xxxxxxx I did a println in my earlier func and it return a value of int 1 for the var arrayCount Therefore arrayCount is not empty. So it should be able to interpret the array as: *assuming arrayCount is now 1 answerRecord[arrayCount] should be