My app always runs normally in others android versions, but not in 9.0 Pie... Somebody knows if there is any configuration to make it run?
Thanks!!
I finally fixed my error...
From Android 5.1 version the applications has to request permissions to use some resources from the device... I made a structure that get the android version from the device and compare if it is greater than 5.0, if it is, then request the permission. I was using a Substring(0,3) in AndroidString to get Major and Minor from version string, but when it verify the Android 9, an error occurs because the version string was "9", not "9.0", which was what I waiting.
Related
I created the application and it works fine for target andriod version 7.1 and target framework 8.1. There is no any error in my application.
when i put the minimumSdk android version 4.4 and targeted android version 7.1. the program is absolutely fine.
But when i change the targeted android version to 8.1 and minimumsdk version 4.4 after debugging , it shows application break point error while clicking the button of that program.I am working on it for last two days but i didn't find any solution on it.
I have updated my android sdk version 8.1 and its platform as well.
so i am very tensed on changing the API level 25 to 27??
I will be extremely thankful if get the solution.
The idea of using Delphi to develop a mobile app is appealing to us because we can do Android, iOS and Windows without duplicating work. Delphi is also a language that we are familiar with. However after trying to get a simple test app running on an iPad, I do not think it is actually realistic. Here are my observations:
The iPad is running iOS 12.0.1 (and iOS 12.1 is already downloaded and ready to install).
Xcode, which runs on the mac, is used by Delphi for building apps and deploying them to the test target. Each Xcode version supports exactly one iOS SDK version and is the Xcode version plus 2. My old Mac is currently running xcode 8.2.1 so that corresponds to iOS SDK 10.2, which should run on iOS 10.2 and higher.
Delphi Tokyo supports iOS SDK versions from 8.0 up to 11.3 (so Xcode 6 to 9). It will not compile apps using SDK 12. The Xcode version running on the mac fits squarely within this range of versions.
It appears that Xcode is not able to properly support iOS versions that are newer than itself. When trying to run the application it errors out with "unable to location DeviceSupport directory for the connected device. Please check Xcode installation path and run Xcode devices". Under "Devices" the following is displayed for the iPad: "This iPad mini2 is running iOS 12.0.1, which may not be supported by this version of Xcode".
So, it would appear that the latest Xcode version is required to support the iPad running iOS 12.x but that means that Delphi cannot compile for it because it only goes up to SDK 11.3 and not 12. I do not think it is possible or sensible to downgrade the iPad iOS. Also even if we get a Delphi version that works, the next iOS update will require a new Xcode and therefore a new Delphi version that isn't even available. When the new Delphi version is finally available it will already be obsolete since iOS will have already moved on.
Please correct me where I am wrong. Because this cannot surely be the state of things.
I created app using Lua language using Corona SDK and when I try to
create a build or Send it to App Store, it displays these errors below
UNSUPPORTED IOS SDK Mismatch
The version of iOS SDK (10.2) that's installed on this computer does
not match the target iOS version (10.1). You may encounter issues
building or incompatibilities at runtime.
Anyone can help me with this issue? Any help will be appreciated.
Thank you!
I had the same problem. You need to download the latest daily build from Corona Labs and then build using that version. Daily builds are found here:
https://developer.coronalabs.com/downloads/daily-builds
From Corona blog
Changes to Xcode Requirements
Starting with 2015.2616, Corona
Simulator will be more stringent about the version of Xcode you have
installed (older versions work like before, in a less stringent
manner). In particular, when you select a particular target iOS
version, you must have the corresponding version of Xcode installed.
For example, if you want to target iOS 8.3, you must install Xcode 6.3
which includes iOS 8.3 SDK.
Also, from this post you can read that for iOS 10 SDK you need install Xcode 8. So I guess for iOS 10.2 SDK you need Xcode 8.2 (I'm not sure which one exactly will fit). What is more you need most recent version of Corona:
stable build (requires Xcode 8.1 or later, the macOS Simulator requires macOS 10.10 or later, more information) or
daily builds.
Note: I'm using only Win7 for Corona SDK.
I would like to make my app compatible with IOS 7.0 but in the preferences --> downloads section, the lowest available version is IOS 8.1 simulator. I'm currently using OSX Yoesmite 10.10.5 wih xcode 7.2.1 running version 9.2.
Does that mean there's no way to test for app compatibility for any versions lower than IOS 8.1?
Edit: I realize it's possible to install older versions of xcode. I want to know if it's possible to download only the simulators on my current xcode, not have an entirely new and different xcode.
The answer should be NO.
It's not just about the simulator, but the SDK you use to compile the app to run within the simulator. When you use newer SDK to compile, the binary could contain unknown load commands to the binary header, or unknown APIs calls to an older system. That's the main reason you can't run an app built with newer SDK/system on an older OS. Even if it worked, it might still crashed at some point when the needed symbols can't be resolved.
So in order to run/build app for an older version of simulator, you need:
An older version of Xcode (which has older version of SDK)
Or, find out a way to setup your current version of Xcode to compile
with the older SDK extracted from an older version of Xcode. (This
may and may not work due to the change made to Xcode.)
For the second option, you can google it for how-to.
The Xcode 6.3.2 has the compatibility from iOS 4.3. I run an application built with minimum deployment target with 6.0 and I try to run this application in iPhone with iOS lower than 6.0. When we do this, Generally Xcode prompts and saying, targeted device doesn't have the support kind of error.
What mechanism that Xcode and iPhone has to prompt the user by saying this incompatibility message.
This question seems to be meaningless. But, Just Wanted to know how the Xcode doing this? and with what mechanism?
If anybody has idea. Thanks in advance!!!
If you're deploying through the app store, the user won't be able to install it. It won't even show up in the search results for them.
It depends on the iphone ios version and the xcode Deployement target you set no matter what the base SDK is..