xcode5

iOS launch image won't show up on iPhone or simulator, works on iPad

南楼画角 提交于 2019-12-10 18:08:00
问题 I'm having this problem whether I use asset catalogs or the old-school way. Xcode 5.1.1 in all cases. I've got all my images in, and Xcode does not give me the "you're missing the 568-h" error or anything, but when I launch the app, my Launch image only shows on iPad, not iPhone. This happens on the simulator AND device. I have done clean installs, cleaned out DerivedData, etc. I also checked that my info.plist doesn't have anything to do with Launch images when I use asset catalogs, but nope

xcode5 iOS Simulator failed to install the application

点点圈 提交于 2019-12-10 17:54:27
问题 Recently i installed X-Code 5 on my new Mac-mini, and created a iOS project with "Single View Application" template.(I haven't added any code). when i run the application i got the error " iOS Simulator failed to install the application. " The deployment target and Base SDK are set to iOS 7. The simulator screen is blank as [in this stack overflow question][1] also the following Simulator menu options are not working. 1.Debug->Open System log 2.Hardware->Home,Lock & Toggle in call status bar

iOS : Device having 7.0.2 not detected in XCode 5 [duplicate]

≯℡__Kan透↙ 提交于 2019-12-10 17:15:34
问题 This question already has answers here : Trying to test my app on iPhone iOS 6.1.2 but “No provisioned iOS devices…” error? (2 answers) Closed 5 years ago . I updated my iPad 2 OS to version 7.0.2 and updated XCode 4.6 to XCode 5. Device is detected in iTunes, but not in XCode 5 and I get an age old message No provisioned iOS devices are available with a compatible iOS version. I see a valid provisioning profile in Windows->organizer. I closed the XCode and started again but device not

How to make universal Xcode 5 app project launch in landscape orientation?

倾然丶 夕夏残阳落幕 提交于 2019-12-10 16:28:14
问题 I created a "Single View Application" project and set all options to launch and support only landscape orientation. But the app launches with its window in portrait orientation. Console output says that the window after application:didFinishLaunchingWithOptions: is: {{0, 0}, {768, 1024}} I added a standard system button to view of ViewController to illustrate that the app is landscape and not portrait, but that the window is portrait. Because stack overflow has white background I colored the

XCode 5 Crashes when debugging multiple iOS Devices [closed]

▼魔方 西西 提交于 2019-12-10 15:56:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I've been debugging up to 4 devices at once recently for an iOS networking project with XCode 4. Having today updated to XCode 5 to be able to build to iOS7 devices, I've found that XCode will crash when ever I try to debug a second device simultaneously. The simulator seems to debug fine while one other device

RunUnitTests error after Xcode 5 update

别等时光非礼了梦想. 提交于 2019-12-10 15:18:51
问题 All I did was to update the project to Xcode 5. Now when I try to run tests I am getting this error if [ "${TEST_AFTER_BUILD}" = "YES" ]; then Error ${LINENO} "RunUnitTests is obsolete. To run unit tests for your target, use the Test scheme action in the Xcode IDE and the test action in xcodebuild." Note ${LINENO} "You can remove the Run Script build phase that invokes RunUnitTests from your unit test bundle target." # Exit with EX_UNAVAILABLE to indicate that this subsystem is unavailable.

ld: symbol(s) not found for architecture armv7s error only on 64 bit iPhone

你。 提交于 2019-12-10 14:56:30
问题 I am receiving a ld: symbol(s) not found for architecture armv7s error but only when I run it on the iPhone 64 bit. It works for 32 bit phones with iOS6 and iOS7 and also works on the 64 bit iOS7 simulator. These are the errors I am receiving. Undefined symbols for architecture armv7s: " RKMIMETypeJSON", referenced from: _ _38-[ServiceCalls saveSupportInformation]_block_invoke in ServiceCalls.o ___53-[ServiceCalls saveHealthJournalEntry:healthJournal:]_block_invoke_2 in ServiceCalls.o ___26-

iOS - Refresh Control - “Attempting to change the refresh control while it is not idle is strongly discouraged and probably won't work properly.”

烂漫一生 提交于 2019-12-10 14:14:38
问题 I cannot find many references to this warning anywhere. I have two view controllers that offer pull-to-refresh control. One is fine. The other produces the warning above. I copied the code from one to the other. The code is as follows (PFUser refers to Parse.com): [super viewDidAppear:animated]; if ([PFUser currentUser]) { NSLog(@"who's the user: %@", [PFUser currentUser]); UIRefreshControl *refreshTable = [[UIRefreshControl alloc] init]; refreshTable.attributedTitle = [[NSAttributedString

UITextField in iOS7 simulator do not take any input from mac keyboard

≡放荡痞女 提交于 2019-12-10 13:36:50
问题 UITextField suddenly do not take any input from mac keyboard, However I am able to use the virtual keyboard coming up on UIView on iOS7.0 simulator. Has any one resolved this issue before? 回答1: In simulator menu: Hardware -> Keyboard -> Connect Hardware Keyboard helped me with this problem 回答2: I reset the iOSSimulator , its contents and settings and quit and relaunched the iOS-simulator. it worked. This exactly happened when I updated the code from SVN . I guess its always a good practice to

Installing command line tools Xcode 5

无人久伴 提交于 2019-12-10 13:32:31
问题 I have tried and tried (looked at many headings for this) and I still don't have an answer to my problem. I am trying to install the Pebble SDK 1.12 and install command line tools of Xcode 5. Everytime I try xcode-select --install in terminal I get "Can't install software because it is not currently available in the Software Update server" I have tried to reinstall Xcode and that didn't work. When I got to Xcode-preferences-downloads there isn't a section for the command line tools. I have