ios-simulator

Creating a libsubstrate for iPhone Simulator

非 Y 不嫁゛ 提交于 2019-12-11 13:58:28
问题 I am working on mobilesubstrate plugins on a JB iPhone. i have created a dylib in xcode for my iphone which builds fine for Device, but when i try to build it for Simulator, it gives me an error "_MSHOOKMESSAGE reference from: blah blah". I have placed all the headers in proper locations. I got libsubstrate from device but that is i think the problem. The libsubstrate from device is not gonna work for Simulator. So my question is how to create a libsubstrate for Simulator? 回答1: If you simply

iPhone images on the simulator and the actual device - different bitsPerPixel values?

拟墨画扇 提交于 2019-12-11 13:53:46
问题 I have code running in an iPhone application I am developing. Basically, the code needs to load an images and calls: size_t bitsPerPixel = CGImageGetBitsPerPixel(imageRef); I noticed that on the iPhone simulator this call returns 24 and the device itself it returns 32. Is this behavior by design? Is it something I can control? 回答1: I think it comes down to the image format. When using PNGs in an iPhone app, part of the build process when building for device puts PNG images through the

Phonegap - developing and launching app on simulator

耗尽温柔 提交于 2019-12-11 13:46:21
问题 i'm developing using phonegap and when i want to launch the app in the ios simulator i do from terminal : phonegap run ios but it takes a few seconds is really slow to launch and refresh the app again and again like this. What i'm asking for is how to refresh app in simulator easly if possible quickly? 回答1: You can load the corresponding project blahblah.xcodeproj in XCode and supposedly you could run it from there, but I am having an impossible time getting it to detect changes to html and

Swift - App getting crashed in IOS 8.4 on launch with error _NSURLSessionTaskPriorityDefault

半城伤御伤魂 提交于 2019-12-11 12:15:54
问题 App is getting crashed on launch, with error log dyld: Symbol not found: _NSURLSessionTaskPriorityDefault Referenced from: /private/var/mobile/Containers/Bundle/Application/E302B99F-08D3-45C0-A8ED-F500052FF375/AppName.app/AppName Expected in: /System/Library/Frameworks/Foundation.framework/Foundation in /private/var/mobile/Containers/Bundle/Application/E302B99F-08D3-45C0-A8ED-F500052FF375/AppName.app/AppName IOS Target Version : 8.0 Swift : version 2.2 Device: Iphone 6 Device Version 8.4 回答1:

iTunes Connect Screenshot doesn't accept iPad PRO screenshots

走远了吗. 提交于 2019-12-11 11:46:02
问题 My iPad PRO simulator is not scaling from iPad AIR simulator, I have the launch screen storyboard. So I took a screenshot from the iPad PRO simulator and tried to upload it onto screenshots in iTunes Connect but it gave me a warning that the size was wrong. Why is the iPad PRO simulator use the incorrect size for iTunes Connect? 回答1: If you need a full-resolution screenshot, be sure to first turn off the 'Optimize Rendering for Window Scale' option in the Debug menu. When that is on, the

Iphone simulator (linker command failed with exit code 1 (use -v to see invocation))

帅比萌擦擦* 提交于 2019-12-11 11:38:55
问题 I am using Unity to build iPhone game. When I build for iPhone simulator I got this annouing error: I tried to build for iOS 4.2 and later versions... but no hope.. ld: -pie can only be used when targeting iOS 4.2 or later clang: error: linker command failed with exit code 1 (use -v to see invocation) 回答1: The issue is likely that you are trying to link a static archive that was built against the OS X SDK into your iOS Simulator executable. Previous versions of Xcode's toolchain did not guard

iPhone simulator theme

你说的曾经没有我的故事 提交于 2019-12-11 10:58:50
问题 Is it possible to change the iPhone Simulator skin to something more than just black package?:) 回答1: You can look into the iOS-Simulator package. In Contents/Ressources you will find frame.png which you can edit. I have no idea why you would want to do that, though. :-) 回答2: Apparently yes (it was news to me until I searched). See this link about making new graphics for the simulator. Can't imagine why you'd want to though ... 回答3: do yo want to change the wallpaper?? if yes then drag an

Xamarin iOS project with reference to binding launches on sim but not on device

假装没事ソ 提交于 2019-12-11 09:13:53
问题 I am creating the monotouch bindings to the Quickblox chat service. I successfully did this on a previous version (1.9.x) but on the 2.0.2 library, having problems getting the new binding to launch on the device. It launches on the simulator fine. Guessing it is a problem with linker flags, but have run out of ideas. The binding project compiles fine. The DLL is created and I can reference it in my host project. Running the host project in the simulator works fine. On an actual device, the

navigator.geolocation.getCurrentPosition not triggering in iOS simulator with React Native

佐手、 提交于 2019-12-11 08:58:41
问题 In Android emulators, the below code works fine but in iOS, it doesn't even step into navigator.geolocation.getCurrentPosition. I've updated my simulator's custom location through the debug menu but if it's not even getting into navigator.geolocation.getCurrentPosition I'm a bit lost. constructor(props) { super(props); this.state = { focusedLocation: { latitude: 37.4219999, longitude: -122.0862462, latitudeDelta: 0.0022, longitudeDelta: Dimensions.get("window").width / Dimensions.get("window"