xamarin app store rejection crash on launch - iphone

As many other people, after submitting an xamarin ios app, apple told me: "We were unable to review your app as it still crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.". It is not crashing anywhere. I tested it very wel on the simulator, my iphone and ipad with the latest ios version.
Got the following settings of the project in visual studio:
Settings tab: IOS build
SDK version: 10.3
Link Behavior: Link all
Supported Architectures: ARMv7 + ARM64
HttpClient Implementation: Managed (default)
Perform all 32 bit float operations as 64 bit float --> checked
strip native debugging symbols --> unckecked
enable incremental builds --> unckecked
use the concurrent garbage collector --> unckecked
enable device-specific builds --> unckecked
The crash log from apple
What i've tried so far:
Link behavior: Framework SDKs only
In my current submit: Link
behavior --> Don't link
any ideas?
Update 1:
I submitted the app 8 times, they were all rejected. I will soon going to try to submit an test app writen in objective C, to test if it has something to do with the virtual machine. I am compiling everything on an Vmware Mac OSX 10.12 Sierra. I also tried the sample Nativescript APP and it also got rejected so it might have something to do with that.

Related

All WatchKit apps are crashing on startup on real devices - 'warning: could not execute support code to read Objective-C class data'

All the WatchKit apps I'm building is working fully in the simulator, but whenever I'm trying to install the app on my real device (Apple Watch Series 1), the app crashes before the applicationDidFinishLaunching is being called in the ExtensionDelegate.swift.
The crash occurs for all the new and existing Apple WatchKit apps I'm trying to run on the real device Apple Watch Series 1 5.3.1
This is the output I get from the console:
warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.
Any help is appreciated. Thanks.
Updating the watchOS version from 5.3.1 to 6.0.1 resolved the issue for me. XCode version is 11.1
Before I tried many other suggestions without any success:
- Clean build
- Restart of XCode, MAC, iPhone, Watch
- Remove and reinstall of my watch app
- Re-pairing the watch with my iPhone
- Playing with the settings of Embedded binaries

simulating app upgrade in iOS

I am trying to simulate an upgrade from version 2.0 to 2.1. I have version 2.0 hosted in testflight, so I did install it in my device. Then I tried running the app from xcode. However what happened is that the app did not get overlapped, instead it created two apps with the same name. How can I make it such that when I run the app from xcode it overlays the old version?
I've made sure that the bundle identifier is the same.
Well the info you can get while updating can be found # this link here.
when user updates an app, Documents folder is stored as is, including
NSUserDefaults (but, sometimes user download app via iTunes and
replace the whole application, crying 'OMG! update killed all my
levels progress!'); Application bundle is erased and replaced by new
one (anyway, it is readonly for user); Re-deployment of new build
version will be enough;
You can't access the appstore inside the simulator because: # link here
It's a simulator not an emulator. Even if there was an App Store in
the Simulator, none of the apps in the store would work since they are
compiled for ARM CPUs while the Simulator runs x86 code.
Another stack overflow # link here states:
Build and install your old version, generate some data, and then
install the new version on top of it.
For testing before submitting to the Appstore I generally download
from the AppStore again the old version, and then install with Xcode
the newer version - for your next update... ;-)
And another stack overflow (that I lost the link for) states:
No, the simulator runs i386 binaries and iPhone appstore apps are ARM
binaries apps.
iOS apps are compiled to machine code, Android apps are run in a
Virtual Machine using byte code and are translated to machine code at
the time they are run.
So no, I don't believe you can run it in the simulator, how ever you can have older projects saved on the iPhone and test both out. And the apple documentation is # this link here.
Read this: https://developer.apple.com/library/ios/technotes/tn2285/_index.html
You cannot simulate update in XCode (neither in simulator or connected device). You have to create IPA file and simulate update process via iTunes.

use xcode to instrument/profile third-party app

Is it possible to use Xcode Instruments to profile a third-party app? Right now, whenever I trying to profile any third-party app installed on device, I got error saying
'Target failed to run: Remote exception encountered: failed to get task for pid '
Is there any settings that need to be configured?
From Apple documentation: For your protection, the instrument does not allow you to process any application that is not code-signed with your provisioning profile. This includes any copy that has been downloaded from the iTunes App Store.
UPDATE
As of more recent versions of iOS, you can only attach the profiler to your own developer-signed apps.
ORIGINAL
Using Xcode 4.4.1 and my iPad 3 running iOS 5.1.1, I'm able to use the Core Animation and Time Profiler instruments on third-party apps. I tried it with Twitter and Minecraft PE.
The profiles are rather useless since I don't have symbols for the apps. I just get a lot of addresses in hex. And Instruments won't even show me the disassembly of the apps. I believe this is because iOS, for security, doesn't allow Instruments (or gdb or lldb) to look at the address space of apps installed from the App Store.

iPhone app in simulator works on one mac but not another mac

I hired 2 developers to work on an App and both developers have no problem loading the App in the Simulator. However, on my iMac, it won't load the App at all in Simulator and only gives me the icon screen of the App.
I got paranoid and did a clean install of OS X and upgraded to 10.6.6
I even erased the hard drive completely before install
running Xcode 3.2.5
developers are also running Xcode 3.2.5 iOS SDK 4.2
I did Clean Targets
I did reset in the Simulator
Maybe something in the Xcode Preference Settings?
Has this happen to anyone before?
--
Have you see them load the app?
Here are few suggestions/options:
Try to load a test app and just
see if it is actually your computer.
http://www.tuaw.com/2009/04/27/iphone-dev-101-the-hello-world-app/
Have the developers use TeamViewer
(http://www.teamviewer.com/en/index.aspx)
to load the app in your phone for
you.
You have to sign your app through
apple dev store, are you on the list
of developers that can open/edit the app?

Install Dev App on IPhone - Not in List

I have recently provisioned my IPhone to be a development device when I had version 3.1 of the firmware installed.
I was forced to upgrade firmware last night due to 3.2 being the base supported firmware by the framework I am using. I am now running 4.1 of the iOS firmware.
Before I did this the device showed up in XCode as a valid target to run my application aside from the simulator. Now when I open xcode I never see my device in the list. I also look at organizer and it is enabled for development as I am able to look at the console for the device.
Also the provisioning profiles are still there.
I am at a bit of a loss as to what is wrong. I appreciate any ideas people may have as to how I can fix this.
You're saying it shows up in the Organizer, but not in the "Overview" list in Xcode?
Are you perhaps still running the 4.0 SDK, and does it show up with a "yellow light" in the Organizer along with the error message like "this device's firmware is too new for me"? If so, updating to the 4.1 SDK should fix your problem.