ios-simulator

“Failed to set plugin placeholders” message?

折月煮酒 提交于 2020-01-01 07:32:09
问题 Xcode 9.1 Simulator 10.0 OSX 10.12.6 I would like to upload a new build of my sticker pack to iTunes Connect. But Product > Archive is grayed out. So I ran the Simulator and got ""Failed to set plugin placeholders for (name)." Only one answer anywhere in the whole world -- delete Derived Data Folder. I did and got same error message. BTW Under General in Xcode the Version is 1. The build is 1.4. Does the build number have to be changed somewhere else as well? 回答1: What worked for me, Go to

Xcode 7.0 and iOS5 compatilibity

∥☆過路亽.° 提交于 2020-01-01 05:40:12
问题 1) I cant use my iPad with iOS 5.1.1 in XCode 7.0 (7A220). In "Devices" window: "Unsupported device model: "iPad is of a model that is not supported by this version of Xcode..." 2) Is impossible to upload iOS 5 simulator to Xcode 7; the oldest available is iOS 6. What can I do to work this iPad withXcode 7? 回答1: XCode hasn't supported iOS 5 simulation for longer than that. Check my post on the thread Install ios 5 simulator to xcode 5.1? to see how I ran iOS 5 simulators on a mac with recent

iOS simulator permission denied and not showing permission alert dialog

偶尔善良 提交于 2020-01-01 05:22:05
问题 I'm working on iOS simulator and am facing issues for requesting permissions. My app was working properly and it could access to photo library, camera and location service. But after installing new XCode (8.1), I run the app on simulator, the app is not allowed to use photo library or camera or location service any more. I tried to ask the permission programmatically, but it did not show permission request dialog and always return denied status even though I added the privacy descriptions and

xcode Simulator delays the displaying of a page

╄→гoц情女王★ 提交于 2019-12-31 05:18:12
问题 Upgraded to XCode 9.2 and now my app behaves badly on the ios simulator. It still runs ok when deployed to a physical device. The problem is that pages are taking from 10secs to 1 minute to refresh. eg after a tableview.reloadDate(). I am certain the reloading of the data is occurring immediately, it just that the page isn't being displayed until after a long delay Interestingly if I tap the simulator screen the response is as if I tapped the refreshed (but as yet undisplayed) page. I don't

Unable to run the Simulator The operation couldn’t be completed. (LaunchServicesError error 0.)

只愿长相守 提交于 2019-12-31 03:33:54
问题 Im trying to run the IOS9 iphone 6 app in Xcode 7 and swift 2.0, but I can't. If I reset the content and Simulator settings, the first time works but the second one fails again, I have cleaned up the app, I have cleaned the build folder, I have tried setting the NSAllowsArbitraryLoads key to yes, Sorry, but I have a headache searching what's going on. Appreciate help the error in the coresimulator.log is 07/10/15 21:51:02,800 com.apple.CoreSimulator.CoreSimulatorService[410]: Error Domain

jailbroke app on simulator?

℡╲_俬逩灬. 提交于 2019-12-31 03:15:13
问题 I'm developing apps for jailbroken iPhone on Xcode. I'm using Xcode 4.2 and my iPhone OS is iOS6. I cannot connect my iPhone with XCode for testing because XCode 4.2 does not support iOS6. Every time when I compile the code and try to run it on the simulator, I cannot get out of the sandbox . So I've tried to create an .ipa file, install it on iPhone and test it. Is there any way to test jail broken apps on simulator? 回答1: It depends what kind of jailbreak functionality you're looking to test

Check iOS Simulator type and version

匆匆过客 提交于 2019-12-30 18:54:11
问题 I have following code snip to detect the iOS Device. NSString * platformNSString () { size_t size; sysctlbyname("hw.machine", NULL, &size, NULL, 0); char *machine = malloc(size); sysctlbyname("hw.machine", machine, &size, NULL, 0); NSString *platform = [NSString stringWithUTF8String:machine]; free(machine); return platform; } NSString * platformString () { NSString *platform = platformNSString(); // iphones if ([platform isEqualToString:@"iPhone1,1"]) return @"iPhone 2G"; if ([platform

Undefined symbols for architecture x86_64 when building for ARM64

喜欢而已 提交于 2019-12-30 11:54:32
问题 I built the cryptopp lib to using for an ios application. but isn't working , only told me "Undefined symbols for architecture x86_64: "CryptoPP::ProxyFilter::IsolatedFlush(bool, bool)", referenced from: " and on and on... and I follow the Crypopp wiki page's guideline, but it still crashing. how can I fix that? ld: warning: ignoring file [path]/libcryptopp.a, missing required architecture x86_64 in file [path]/libcryptopp.a (4 slices)CryptoPP::ProxyFilter::IsolatedFlush(bool, bool)",

iPad large NSArray - initWithObjects vs. ArrayWithObjects

折月煮酒 提交于 2019-12-30 07:40:17
问题 can anyone clear this up for me ? I am building an iPad App that has a TableViewController that is supposed to show something between 1000 and 2000 strings. I have those NSStrings in a Singleton. In the init Method of the Singleton I initialize an Array that holds all the data ( does not have to be the final way to do it - was just a quick copy and paste for testing ) I did an self.someArray = [[NSArray alloc]initWithObjects: followed by the large number of strings, followed by nil. that

iPad large NSArray - initWithObjects vs. ArrayWithObjects

寵の児 提交于 2019-12-30 07:40:05
问题 can anyone clear this up for me ? I am building an iPad App that has a TableViewController that is supposed to show something between 1000 and 2000 strings. I have those NSStrings in a Singleton. In the init Method of the Singleton I initialize an Array that holds all the data ( does not have to be the final way to do it - was just a quick copy and paste for testing ) I did an self.someArray = [[NSArray alloc]initWithObjects: followed by the large number of strings, followed by nil. that