ios9

dyld: Symbol not found: ___NSDictionary0__ when using google ServiceGenerator binary with discovery docs in XCode 7 & iOS target 9.0

不想你离开。 提交于 2019-12-10 10:12:17
问题 I'm trying to generate client API code from Google backend using Google serviceGenerator with discovery document as input. Following is the exact command : /Users/raja/Library/Developer/Xcode/DerivedData/ServiceGenerator-dycdiotwolfqnaelznaucewpppjr/Build/Products/Debug/ServiceGenerator ./userRecordApi-v1-rpc.discovery --outputDir ~/API I however, see the following error dyld: Symbol not found: ___NSDictionary0__ Referenced from: /Users/raja/Library/Developer/Xcode/DerivedData

Objective C- iCal not creating custom calendar and new event to it in iOS 9

╄→гoц情女王★ 提交于 2019-12-10 08:53:43
问题 This working perfectly in iOS 8. But creating issue in iOS 9.Here is code : self.eventManager.eventStore requestAccessToEntityType:EKEntityTypeEvent completion:^(BOOL granted, NSError *error) { if (granted) { // Create a new calendar. EKCalendar *calendar = [EKCalendar calendarForEntityType:EKEntityTypeEvent eventStore:self.eventManager.eventStore]; // Set the calendar title. calendar.title = @"<APP name>"; calendar.CGColor=APP_Blue_COLOR.CGColor; // Find the proper source type value. for

iOS localization is broken with the upgrade iOs 9 + Xcode 7

痞子三分冷 提交于 2019-12-10 03:45:44
问题 I localized my app in Italian and English, using the Localizable.strings file and the NSLocalizedString macro . I also enabled base localization . Everything works fine in the simulator and on devices with iOS 8, but on iOS 9 the app is always in english, even on devices with the italian language selected as default in the iPhone settings. Does iOS 9 changes something with localization? Here's a screenshot of the Xcode localization settings 1 And of the device used for testing Thanks in

Running out of memory in 'Other Processes' in Usage Comparion Xcode iOS9

拜拜、爱过 提交于 2019-12-10 03:41:39
问题 My app crashes on devices with 0.5GB memory. However, profiling memory usage in Xcode - it rarely goes above 140MB. I've used instruments to check leaks and there are none that are significant. However, when I run my app, the memory used by 'Other Processes' is always very high. This is the resting state after launching: I added a 1 second delay in each cycle of a loop in my code, and discovered that on each loop, the 'other processes' increases memory usage by about 3MB per object, until on

How to resolve Type of expression is ambiguous without more context for an audio recorder in swift 2

不想你离开。 提交于 2019-12-10 03:19:10
问题 I have upgraded to Swift 2.0 and I quite can't understand this when I try to record a sound: Type of expression is ambiguous without more context on var recordSettings What should I do to fixt this error and more important, why? var recordSettings = [ AVFormatIDKey: kAudioFormatAppleLossless, AVEncoderAudioQualityKey : AVAudioQuality.Max.rawValue, AVEncoderBitRateKey : 320000, AVNumberOfChannelsKey: 2, AVSampleRateKey : 44100.0 ] var dirPaths = NSSearchPathForDirectoriesInDomains(

iOS 9 Black Launch Screen [closed]

穿精又带淫゛_ 提交于 2019-12-10 03:05:44
问题 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 4 years ago . I've been developing my app and was running fine until iOS8. However, today after updating my phone to iOS9, I saw that the launch screen of my app became black. The same issue happened to some other apps as well (Anyone else can also see this in on a device running iOS 9). Any idea why this may be the case? How

Background audio not working with Xcode 7

会有一股神秘感。 提交于 2019-12-09 23:14:41
问题 I have a radio player app, which streams audio from online radio stations. I have background modes enabled, like so: When I built the app with Xcode 6, it worked on all devices and all iOS versions up to iOS 8. It even worked on an iPhone 6 that was later updated to iOS 9. Since then, I have updated to Xcode 7 and now when I build and run it on any device with any iOS version the background audio does not work, it just stops when the app goes to background. Any ideas? 回答1: In your plist make

kSecAttrAccessibleAlways deprecated in ios 9

穿精又带淫゛_ 提交于 2019-12-09 21:26:23
问题 I use keychain to authenticate and then send location info to server in background. But since kSecAttrAccessibleAlways got depricated, I will have to use kSecAttrAccessibleAfterFirstUnlock . This allows use of keychain after first unlock after restarting phone. Problem is if user restarts phone, and location changes before first unlock, then Authenticate will fail, since we can't fetch from keychain . How can I solve this problem. How to find keychain cannot be accessed and stop

IOS9中出现的错误

早过忘川 提交于 2019-12-09 19:14:32
1, Bitcode 错误提示: ld: '/Applications/Cocos/frameworks/cocos2d-x-3.8.1/prebuilt/ios/libcocos2d iOS.a(CCEAGLView-ios.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 arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 解决方法: 2,UIWebView 错误提示: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. 解决方法: 来源

'Convert to latest Swift Syntax' breaks the build even when there are no changes

浪尽此生 提交于 2019-12-09 17:29:22
问题 My project is in objective-c with just one tableviewcontroller in swift. I downloaded the Xcode-beta today which prompted me to 'Convert to latest Swift Syntax'. After I follow the steps it shows me that there are no changes. I do not see any changes in the proj file either but it has errors. Please note that I do not see the errors when I choose not to covert to latest swift syntax - the app builds and runs fine in this case. Any idea why it is breaking? Here are the errors - cannot parse