If I have an app I developed installed on my device, can I retrieve the original code?
I seem to have misplaced the XCode project between my different computers and hard drives for an old app I made. However, I still have the app installed on my iPad. I really need some of the code from this app. Can I possibly plug my iPad into my mac and retrieve some of the code from my iPad? (I know some stats are visible in iTunes. Can I view the app info there?)
A compiled app doesn't contain any of the app's Swift or Objective-C source code.
Related
I am working on an iOS app that integrates with multiple bluetooth devices (e.g. printers and barcode scanners). Each of the devices comes with it's own version of SDK and most of them just have objective-c/swift SDKs but not javascript SDKs.
Would like to find out what is the best way to reduce the app bundle size at the same time supporting multiple devices ?
Based on my investigations,
iOS doesn't allow downloading objective-c/swift code dynamically during runtime, hence the option of downloading the SDKs after the user having installed the app is ruled out.
Would like to get a feedback on the feasibility of the below solution. Also let me know if there is a better solution.
iOS version 8+ support embedded frameworks - Have separate iOS driver
apps for each of the supported devices which just installs the device
SDK as a shared embedded framework so that the parent app can
dynamically link to the shared embedded framework if one that matches
the connected device is available, otherwise force the user to
download the respective driver app.
This question has gone unanswered for a little while, so you may have already figured this out, but no, you cannot make shared embedded frameworks on iOS. Only Apple can do that. All of the frameworks you use must be either provided by Apple or embedded inside your app.
I'm looking for a way to see my app contents on the device the app is being ran on using Xamarin iOS. I would like to do this while debugging the app.
On android this can be viewed through DDMS and then Device File Storage so I'm looking for the same or similar process for Xamarin iOS.
I have also researched and found that you can do this using XCode so I'm hoping its possible through Xamarin also.
Device is iPhone/iPad.
The contents of your app will be saved locally on your mac when debugging, But the location is dynamic and abit hard to find. I use the following tool and it makes it very easy to access all the data I need. https://simpholders.com/
My MacBook was stolen which had all my Unity apps I was working on saved on it. Beforehand, I had downloaded some of those apps onto my iPhone 5s for testing through Xcode 7 and I still have the phone. I was wondering if there was any way to get the apps on my phone back onto a different mac into Unity to be edited, re-downloaded etc.
Unity builds are heavily obfuscated to prevent users extracting assets including your code. There have been some efforts to reverse engineer some of the assets but the source code is compiled to byte-code so you won't be able to recover a "clean" version of your original.
You probably want to set up a source control and make backups next time.
I have an app that is built on top of the Adobe Air and run under iOS. The app worked fine. But recently It stopped properly work. The icon of the app is grayed after the installation. I updated Flex & Air SDK to 4.14 and 17 release. I also changed the app id and took certificates from another Apple ID. I added the device to the list of allowed devices as I done before and built ipa-debug package. After install I get app icon greyed. What reason could cause this behavior? What should I check? I spent two days trying to make it work, but with no success.
Thanx.
There are many informations out there what causes greyed icons on iOS. Some are simple bugs that can be circumvented by a restart of iOS and/or reinstall via iTunes. But I think in your case (and we are talkin AIR here) you should try to read the Console via Xcode (if you can) like suggested here. How you can debug via Xcode is described here in Detail. Feel free to attach more informations about whatever you could receive from that output console.
I develop a Mac OS application that transfers files to the Documents folder of an iOS app over USB using IDIDevice. The app is also developed by me.
With the release of iOS 8.3, I am finding that calls to connectToService always return false; and so I am unable to load files to the device.
E.g.
bool returnval = [iDevice connectToService:applicationName];
I've tested other applications that use a similar approach (e.g. Diskaid/iMazing) and they seem to be suffering from the same issue.
While researching to find a solution, I came across this question already asked on AskDifferent: Cannot browse App documents after upgrading to iOS 8.3
Is there any known workaround that I can use, that will avoid a large re-write of my application?
If not, is there an alternative method that I can use to load files into the Documents folder of an app that will still work?
UPDATE: After further testing, I've discovered that this issue occurs when I test with an iOS app installed from the app store. However, if I build an enterprise iOS app; everything works fine.