xcode5

admob ios7 error Audio framework

拟墨画扇 提交于 2019-12-05 01:25:21
I am integrating admob SDK (the current) in my last application IOS7-Xcode5 and i have a new error (same on new project), i guess i missed something, but i restarted the process many times and the error is still here: Undefined symbols for architecture armv7: "_OBJC_CLASS_$_AVAudioSession", referenced from: objc-class-ref in libGoogleAdMobAds.a(GADDevice.o) "_AVAudioSessionPortHeadphones", referenced from: -[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o) "_AVAudioSessionPortBuiltInSpeaker", referenced from: -[GADDevice audioRouteUsingAVAudioSession] in

Xcode 5 - Launch Images not loading in iPad of iPhone app

萝らか妹 提交于 2019-12-05 01:05:38
问题 I am developing an iPhone app on Xcode 5, it's having iOS 7 design but deployment target is iOS 6.0. My question is concerned to Splash Screen of the app. It is working fine in iPhone. Now when i tried to run app on my iPad, it is not loading the Splash Screen/Launch Images and It is showing blank screen instead of actual splash screen image, then from Rootviewcontroller it's working fine. I have set the Launch Images in Xcode "Images.xcassets" folder. Please suggest, what process should I

XCode5 can't install app on iOS simulator

↘锁芯ラ 提交于 2019-12-05 00:17:16
问题 I successfully installed the app several times. Suddenly, I got this message "My App" exited unexpectedly, lost connection. This happens with iOS 6.x and 7 . I already tried deleting app manually from simulator, resetting, clean, quit, restart, everything ... Any advice? 回答1: In the iOS Simulator menu, do "Reset Content & Settings". If that doesn't fix it, reboot your computer. 回答2: I found a "Fix" for this. After trying everything and getting the same error on "My App", I opened and tried to

Use iOS 5 Simulator in XCode 5?

偶尔善良 提交于 2019-12-04 23:52:38
It seems that XCode 5 only comes with the iOS 6 and 7 simulators. Is there a way to use the iOS 5 simulator with XCode 5? If you're using Xcode 5 under OS X v10.8 then if you go to Preferences -> Downloads you should see the 5.0 and 5.1 simulators available under 'Components'. You can download and install directly from there. If you're using Xcode 5 under OS X v10.9 then the iOS 5 simulator is no longer available. In terms of lessons to learn, Apple did exactly the same thing with iOS 4 and the transition from OS X v10.7 to v10.8. So it's not unreasonable to expect that from now on Apple is

How do I make my debug app version receive production push notifications on iOS?

北战南征 提交于 2019-12-04 23:08:28
My server is sporting only one version of sending push notifications, and it has my production (release) push certificate. How do I test the notifications on my debug device and debug builds, using the same production certificate? My device is sending the token, but when I attempt to send a real push notification Apple servers return status 8 error, that means that device token is incorrect. If you want to test your app in production mode, you will need distribute the Distribution version of your app using ad hoc . When your application ready for submission, you create an ad hoc provisioning

Cannot open PDF file using UIWebView in iOS8beta5

安稳与你 提交于 2019-12-04 22:46:55
问题 I have working project in which i display pdf file in UIWebView While testing my application in iOS8beta5 with XCode5 , it did not work In log it display failed to find PDF header : '%PDF' not found I create sample application with below code which also have same problem CODE : self.myWebView.delegate = self; NSString *path = [[NSBundle mainBundle] pathForResource:@"201" ofType:@"pdf"]; NSURL *targetURL = [NSURL fileURLWithPath:path]; NSURLRequest *request = [NSURLRequest requestWithURL

UICollectionView + iOS 7 / Xcode 5 = Assertion Failure

扶醉桌前 提交于 2019-12-04 21:54:27
问题 In my app there was a UICollectionView using flowLayout and it was working beautifully in iOS 6 but fails horribly in iOS 7. As soon as I segue to the view containing my UICollectionView here's what happens: *** Assertion failure in -[UICollectionView _createPreparedSupplementaryViewForElementOfKind:atIndexPath:withLayoutAttributes:applyAttributes:], /SourceCache/UIKit/UIKit-2903.2/UICollectionView.m:1401 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason

Xcode 5 crash when Open storyboard made from Xcode 4.6

≡放荡痞女 提交于 2019-12-04 21:03:00
问题 I'm working for a project with Xcode 4.6 since 2 mounth ago, now that I want to send to apple my app everything is ok but when I've tried to run the app on iOS 7 I saw some bugs; so I've downloaded the new Xcode 5 for see where are the bugs, but what happened is that when I try to open the storyboard with IB Xcode crash . I try to see in Internet how fix this problem but I don't find anything about that. Also the error that Xcode give me when i try to run the app on the device with iOS 7 is:

Parse.com query for 10000 (10K) objects

馋奶兔 提交于 2019-12-04 19:45:32
I have a parse database with a class named MeetingObject filled with 6000 objects (it will grow by the way...). Being the parse query limit 1000 I'm trying to get them using the skip query property. The following code gives me 2000 objects: NSMutableArray *allObjects = [NSMutableArray array]; NSUInteger limit = 1000; __block NSUInteger skip = 0; [query setLimit: limit]; [query setSkip: skip]; [query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) { if (!error) { [allObjects addObjectsFromArray:objects]; NSLog(@"%lu", (unsigned long)allObjects.count ); if (objects.count ==