IDevice ConnectToService on iOS 8.3 - ios

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.

Related

Is it possible to publish Mac Catalyst app as seperate, macOS only version?

When enabling macOS support in my iOS project it runs fine on my Mac. However, I am not sure how this version will be published.
Is it possible to maintain different targets which can be submitted as different apps? One target to the iOS App Store (without macOS support) and one target to the macOS App Store (without iOS support)?
Details:
An iPhone + iPad version of my app has been in the iOS App Store (bundle ID my.company.MyApp) for many years. So has a native macOS version in the Mac App Store (bundle ID my.company.MyAppMac).
Although the iOS and macOS versions doe share a lot of code, it has always quite a lot of work to maintain these two version. Working on a shared project where "only" the UI has to adopted to work well on macOS would be great.
However, I would like to use the Catalyst version to replace the existing, native macOS app. Not as universal new iOS+macOS App. Is this possible?
I'm doing this with a few of my apps.
However, with the most recent one, Apple wouldn't let me give the Mac app and the iOS app the same name. I'm not sure if that was their way of trying to force me to release a universal app, or if it was a temporary App Store Connect issue. The apps I previously released with matching names are still available and I haven't released a new app since then.

Retrieve XCode Project from iOS app?

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.

Access Device Storage Xamarin iOS

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/

device deployment in iOS without connecting the device manually

I am working in iOS native applications using Xcode in objective C with SUP 2.1.3 as backend.I have deployed my application in iPAD by connecting it to mac machine.Now I would like to know, if I can deploy my application into iPAD without connecting the iPAD to mac machine ie by transferring any files to the iPAD.? Or is there any other way to do that?
Currently, there is no supported way of doing this
There used to be, in an early version of Xcode 4. Then Apple killed it - for reasons of being too buggy.
I, like you, often wish they would bring it back, just so that those that do use it don't have to use cables all the time.
Except for Ad Hoc
EDIT: I now understand the question better - you don't want to use the iPad for development as in debugger and whatnot. You want your friend to be able to run your apple on his device. Got it. Google iOS ad hoc

i have already developed an app in java how do i open it in xcode simulator

My team has developed a big social networking app. Now i want to publish it to app store. But the app is not written in Objective C. What is the way to get it published in app store? Or least how can i open in in Xcode simulator for testing and enhancement?
My guess is that you created an app in android and now want to port it to iOS. Unfortunately Xcode isn't able to transform Java to Objective-C and iOS cannot run Java apps, so you will not be able yo submit your app as-is to the App Store.
You will have to do it the hard way and rewrite the entire app in Objective-C. Luckily Google recently launched a translator that might help with part of the work: http://google-opensource.blogspot.com.br/2012/09/j2objc-java-to-ios-objective-c.html
You cannot. Sorry.
I recently worked on an app for iOS and Android launch and we settled for parallel development.
Your Java code is incompatible with iOS and Xcode has no process to convert it to Obj-c.
The only options for cross-platform development that I am aware of are:
1) Heavy use of c/c++ based libraries; these can be utilised in both Android applications and iOS applications (this is what we used). But the entire front end of the apps must be re-implemented.
2) A cross-platform framework such as PhoneGap or Appcelerator, but this would require significant redevelopment from your current code-base.
3) A 'translator' such as the one Breno Gazzola suggested (another option is XMLVM) but these only do some of the work for you, and they're far from perfect.
It's very hard to judge without knowing your code, but if I were you I'd look at combining options 1 and 3 as much as possible, but budget for a complete re-write.

Resources