Not able to test install my new App version

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trevix
Posts: 1064
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Not able to test install my new App version

Post by trevix » Tue Sep 17, 2024 1:23 pm

I am on Sonoma, LC10 Rc1.
My published app is a stack (let's name it A) that I can test install, using USB, without problems on Android and iOS.

I did a new version of the stack (Stack B), with small changes, and now it install correctely on Android and on iOS simulator (iOS 17) BUT not on hardware iPad 17.6.1 or iPhone (iOS16.7.10).

When test installing, it arrives up to the dialog that says "Signing up bundle..." and then it stops, without any error message. And no App get installed on the iPad.

Is there a way to intercept the saving process of the standalone, in order to understand what in my new stack could be wrong?
Thanks for any help.
Trevix
Last edited by trevix on Tue Sep 17, 2024 1:37 pm, edited 1 time in total.
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

trevix
Posts: 1064
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: Not able to test install my new App version

Post by trevix » Tue Sep 17, 2024 1:33 pm

I forgot to say that my problem emerged after having loaded, for a few check, past versions of LC (LC 10 DP8, DP7 and DP6).
Could it be related?
Note: I already tried to reset LC preferences and relod the provisioning profile.
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 861
Joined: Fri Feb 06, 2015 4:03 pm

Re: Not able to test install my new App version

Post by LiveCode_Panos » Tue Sep 17, 2024 2:23 pm

Hello Trevix

This is a shot in the dark - could it be the case you have checked the "beta version" checkbox in the iOS settings? This is only needed when building a distribution build, to upload to TestFlight.

Kind regards,
Panos
--

trevix
Posts: 1064
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: Not able to test install my new App version

Post by trevix » Tue Sep 17, 2024 3:57 pm

No Beta. See attached screen shot.
P.S. i already tried to re-instal LC10 RC1.

Wich "rev" stack is involved in test uploading the standalone to a device?
Since the procedure stops silently during "Signing up bundle...", I could place some "put xx & cr after msg" to find out were the procedure stops and get more info of what is going.
Attachments
Screenshot 2024-09-17 alle 16.20.57.png
Screenshot 2024-09-17 alle 16.20.37.png
Last edited by trevix on Tue Sep 17, 2024 4:01 pm, edited 1 time in total.
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

trevix
Posts: 1064
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: Not able to test install my new App version

Post by trevix » Tue Sep 17, 2024 3:59 pm

My custom pList:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>Referi</string>
<key>CFBundleName</key>
<string>Referi</string>
<key>CFBundleExecutable</key>
<string>Referi</string>
<key>CFBundleIdentifier</key>
<string>com.trevix.it.segnapunto</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>SPfile</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.trevix.segnapunto.spmatch</string>
</array>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>Referi document</string>
<key>UTTypeIdentifier</key>
<string>com.trevix.segnapunto.spmatch</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>spmatch</string>
<key>public.mime-type</key>
<string>application/octet-stream</string>
</dict>
</dict>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.trevix.it.segnapunto</string>
<key>CFBundleURLSchemes</key>
<array>
<string>whatsapp</string>
</array>
</dict>
</array>
<key>CFSupportedRemoteNotificationTypes</key>
<array>
<string>CFBadge</string>
<string>CFSound</string>
<string>CFAlert</string>
</array>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>%%bundlebuild%%</string>
<key>CFBundleShortVersionString</key>
<string>%%bundleversion%%</string>

<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon57x57</string>
<string>AppIcon60x60</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</dict>
<key>CFBundleIcons~ipad</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon57x57</string>
<string>AppIcon60x60</string>
<string>AppIcon72x72</string>
<string>AppIcon76x76</string>
<string>AppIcon83.5x83.5</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</dict>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>18D46</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>DTPlatformVersion</key>
<string>14.4</string>
<key>DTSDKBuild</key>
<string>18D46</string>
<key>DTSDKName</key>
<string>iphoneos14.4</string>
<key>DTXcode</key>
<string>1240</string>
<key>DTXcodeBuild</key>
<string>12D4e</string>
<key>CFBundleDisplayName</key>
<string>Referi</string>
<key>UIRequiresFullScreen</key>
<true/>
<key>MinimumOSVersion</key>
<string>10.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer><integer>2</integer>
</array>

<key>UIRequiredDeviceCapabilities</key>
<dict>
<key>still-camera</key>
<true/>
<key>arm64</key>
<true/>
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiresPersistentWiFi</key>
<false/>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>UIInitialInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeLeft</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
</array>
<key>UIInitialInterfaceOrientation~ipad</key>
<string>UIInterfaceOrientationLandscapeLeft</string>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string><string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIBackgroundModes</key>
<array>





<string>bluetooth-central</string>



</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key><string>This application requires access to Location Services, to locate court position in Match statistics</string>
<key>NSLocationWhenInUseUsageDescription</key><string>This application requires access to Location Services when in use, to locate court position in Match statistics</string>
<key>NSLocationAlwaysUsageDescription</key><string>This application requires access to Location Services, to locate court position in Match statistics</string>
<key>UIStatusBarHidden</key>
<true/>
<key>UIStatusBarHidden~ipad</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleBlackTranslucent</string>
<key>com_livecode_StatusBarSolid</key>
<false/>
<key>com_livecode_UsesLocalNotifications</key>
<true/>
<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UIPrerenderedIcon</key>
<false/>
<key>UIAppFonts</key>
<array>
<string>FontsAndroid/Montserrat-Bold.ttf</string>
<string>FontsAndroid/Montserrat-Regular.ttf</string>
<string>FontsAndroid/Montserrat-Black.ttf</string>
<string>FontsAndroid/PTSans.ttc</string>
<string>FontsAndroid/HelveticaNeue.ttc</string>
<string>FontsAndroid/RobotoCondensed-Bold.ttf</string>
<string>FontsAndroid/Charter.ttc</string>
<string>FontsAndroid/Arial Bold.ttf</string>
<string>FontsAndroid/Optima.ttc</string>
<string>FontsAndroid/Futura.ttc</string>
<string>FontsAndroid/PTMono.ttc</string>
<string>FontsAndroid/Arial.ttf</string>
<string>FontsAndroid/RobotoCondensed-Regular.ttf</string>
<string>FontsAndroid/Times New Roman Bold.ttf</string>
<string>FontsAndroid/GillSans.ttc</string>
<string>FontsAndroid/Arial Narrow Bold.ttf</string>

</array>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>This application requires access to Bluetooth, to use external hardware Bluetooth buttons</string>
<key>NSCalendarsUsageDescription</key>
<string>This application requires access to the device's calendar</string>
<key>NSCameraUsageDescription</key>
<string>This application requires access to the device's camera to read QRcode</string>
<key>NSContactsUsageDescription</key>
<string>This application requires access to your Contacts</string>
<key>NSMicrophoneUsageDescription</key>
<string>This application requires access to the device's microphone</string>
<key>NSMotionUsageDescription</key>
<string>This application requires access to the device's accelerometer</string>
<key>NSRemindersUsageDescription</key>
<string>This application requires access to your Reminders</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This application requires access to Photo Library</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>This application requires access to Photo Library</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>This application requires access to Bluetooth always, to use external hardware Bluetooth buttons</string>

<key>NSUserTrackingUsageDescription</key><string>We do not track you for advertising purposes. We may keep track of your match data to share it among users and, with other apps or websites, to organize tournaments, process player rankings or make court reservations.</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>whatsapp://</string>

</array>
<key>UIUserInterfaceStyle</key><string>Light</string>
</dict>
</plist>
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 861
Joined: Fri Feb 06, 2015 4:03 pm

Re: Not able to test install my new App version

Post by LiveCode_Panos » Tue Sep 17, 2024 4:20 pm

Hello Trevix,

If you remove the custom plist from the copy files, does it install in the device?

If yes, then something in the plist is the problem.
If not, then I suggest you try to choose "Save as standalone application" and try to install the .app using Xcode, instead of deploying directly to the device using Test. It will not work either, but hopefully with Xcode you will get a more descriptive error message.

Kind regards,
Panos
--

trevix
Posts: 1064
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Re: Not able to test install my new App version SOLVED

Post by trevix » Wed Sep 18, 2024 12:45 am

AhA!
The damn pList.
Apparently the RC1 plist is different from the DP8.
I removed the plist, created a new pList saving the standalone and fixing it with my custom stuff (mostly detail explanation of why I need to use Bluetooth and so on. required by Apple)
This solved the problem,
Thanks
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

Post Reply