Custom Apps

RSS for tag

Design and build customized apps that meet the unique needs of an organization.

Posts under Custom Apps tag

55 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Does the App Store accept Apps that uses Cordova and a mobile framework?
HI, can you tell me if the app store accepts iOS (iphone) apps that are built using either the Onsen-ui or JQM framework that then utilises Cordova to be packaged up. The app also uses a few plugins, i.e, check internet connection etc. I have read different posts over the years saying they don't and on another site saying they will accept. I'm just looking for a definitive answer. I should state what I am developing isn't just a clone of a website but a proper user based application. It is just I don't want to wast time developing the idea if it will ultimately be rejected. Thanks.
1
0
510
Jan ’24
Flutter MSAL SSO with webview
Hi, I am using flutter MSAL SSO with flutter_inappwebview and azure_flutter_authentication package to login to the app. let viewController: UIViewController = UIViewController.keyViewController! let webviewParameters = MSALWebviewParameters(authPresentationViewController: viewController) webviewParameters.webviewType = .default I am trying to open another application in webview by using flutter_inappwebview, so that there will be a silent log in using MSAL SSO option in iOS device. But its not working InAppWebView( key: webViewKey, initialUrlRequest: URLRequest(url: Uri.parse(widget.url)), initialOptions: options, pullToRefreshController: pullToRefreshController, onWebViewCreated: (controller) { webViewController = controller; }, onLoadStart: (controller, url) { logger.d("printing webview controller type: " + controller.runtimeType.toString()); setState(() { this.url = url.toString(); urlController.text = this.url; isLoading = false; }); }, androidOnPermissionRequest: (controller, origin, resources) async { return PermissionRequestResponse( resources: resources, action: PermissionRequestResponseAction.GRANT); }, shouldOverrideUrlLoading: (controller, navigationAction) async { var uri = navigationAction.request.url!; if (![ "http", "https", "file", "chrome", "data", "javascript", "about" ].contains(uri.scheme)) { if (await canLaunch(url)) { // Launch the App await launch( url, ); // and cancel the request return NavigationActionPolicy.CANCEL; } } return NavigationActionPolicy.ALLOW; }, onLoadStop: (controller, url) async { pullToRefreshController?.endRefreshing(); setState(() { this.url = url.toString(); urlController.text = this.url; }); }, onLoadError: (controller, url, code, message) { pullToRefreshController?.endRefreshing(); }, onProgressChanged: (controller, progress) { if (progress == 100) { pullToRefreshController?.endRefreshing(); } setState(() { this.progress = progress / 100; urlController.text = this.url; }); }, onUpdateVisitedHistory: (controller, url, androidIsReload) { setState(() { this.url = url.toString(); urlController.text = this.url; }); }, onConsoleMessage: (controller, consoleMessage) { print(consoleMessage); }, ), How to should I pass the login session from swift code to inappwebview in flutter? Please help me with this. I really appreciate it. Its working fine with android devices. The problem is from iOS devices.
0
0
650
Jan ’24
The link cannot be activated.
Hi all, I am new to Swift and I have found an issue which I can't fix. I use a TabView and if I change the views a few times, and go back to this view I get this error and I can't tab on any of the views any longer in the Navigation Stack. The way to fix it, is to force close the app and reopen it. Error message: "A NavigationLink is presenting a value of type “NavigationItem” but there is no matching navigationDestination declaration visible from the location of the link. The link cannot be activated. Note: Links search for destinations in any surrounding NavigationStack, then within the same column of a NavigationSplitView." Code: struct ToolsMainView: View { @State private var navigationPath = NavigationPath() var body: some View { NavigationStack(path: $navigationPath) { VStack { ScrollView(showsIndicators: false) { VStack { ForEach(navigationItems) { item in NavigationLink(value: item) { HStack(alignment: .center, spacing: 12) { Image(systemName: item.icon) Text(item.title) Spacer() Image(systemName: "chevron.right") } } } } .scrollTargetLayout() } .scrollTargetBehavior(.paging) } .navigationDestination(for: NavigationItem.self) { item in viewMenuItems(item) } } .scrollContentBackground(.hidden) } func viewMenuItems(_ tool: NavigationItem) -> some View { switch tool.menu { case .forms: return AnyView(View1()) case .stage: return AnyView(View2()) case .margin: return AnyView(View3()) case .vat: return AnyView(View4()) case .tvheight: return AnyView(View5)) case .tvsize: return AnyView(View6()) case .cable: return AnyView(View7()) case .project: return AnyView(View8()) case .tasks: return AnyView(View8()) } } } Do you have any suggestions? Thank you
1
0
616
1w
Apple installer command is returning error when run from a binary with Full Disk Access on Sonoma
I have a go binary that runs from /usr/local/bin. This application has the ability to update itself by downloading the latest .pkg from our company and running it with the installer command. Our application has also been granted Full Disk Access. The command that is run by our application looks like this: installer -pkg /tmp/ourInstaller.pkg -target /. This command works from a terminal (when run with sudo and when the terminal has Full Disk Access). It also has been working on all MacOS version above 10.15. With MacOS Sonoma on the M platform (not on an Intel device), this command has started to give the following error: installer: Package name is Agent Installer\ninstaller: Upgrading at base path /\ninstaller: The upgrade failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An unexpected error occurred while moving files to the final destination.)\n. This is an error we see when our application is not granted Full Disk Access, but as mentioned, our application has been granted Full Disk Access. Also, the installation appears to complete successfully, meaning the files are moved to the correct place, but the installation still errors. It seems to be erroring while copying the new binary to /usr/local/bin. In fact, it cannot copy any file to /usr/local/bin without erroring, even a simple text file. This leads me to believe that it may be erroring on trying to rollback the previous install, but since the binary has Full Disk Access, it is failing to remove the old binary (rightfully so) and so the installer errors. I just want to reiterate that this has always worked, and only with Sonoma on M architecture machines (M1 and M2) has this started erroring.
1
0
533
Dec ’23
Collaboration on new app.
I’ve just published an app which I only intended to put it into TestFlight as there are two issues i had hoped to resolve before launching in the App Store: It stops playing if phone is locked. If settings are changed they aren’t stored for the next time app is opened. I’m wondering if anyone here would be interested in collaborating on its development. One idea being to allow people to record their own sounds more relevant to their particular sport. This could be a paid option. I hope this kind of post is allowed. The name of the app is Distraction if you want to check it out to see if it would be of any interest to you.
2
0
661
Nov ’23
Requirement & Eligibility for Distributing Custom Apps to Organizations
Hello! We already have a public app on the AppStore. And we are trying to create another app to distribute to organizations privately. Now, we did some digging and have some queries about the whole process which are as follows: What type of account do we need as the developer team, meaning which programs we need to enroll to and what type of account does our customer organization need to use the app, privately? We do not have a hundred or more employees which is an eligibility criterion for enrollment in the Enterprise Program. How can we proceed to distribute apps to organizations privately with out situation? Do the customer organizations need Enterprise account for each app we publish? Thanks!
0
0
472
Nov ’23
Using POCO library for C++
Somebody uses POCO library(https://pocoproject.org/) under MACOS? Ive try to build my app in CLion using CMAKE but there is an error: ====================[ Clean | Debug ]=========================================== /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/michaelikus/CLionProjects/training/poco01 --target clean -- -j 8 Clean finished ====================[ Build | all | Debug ]===================================== /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/michaelikus/CLionProjects/training/poco01 --target all -- -j 8 [ 50%] Building CXX object CMakeFiles/poco01.dir/poco01.cpp.o [100%] Linking CXX executable poco01 ld: Undefined symbols: Poco::Data::SQLite::Connector::registerConnector(), referenced from: _main in poco01.cpp.o clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [poco01] Error 1 make[1]: *** [CMakeFiles/poco01.dir/all] Error 2 make: *** [all] Error 2
1
0
664
Oct ’23
Adding Custom App to iPhone
Hello, I'm not new to programming, but am new to developing for Apple products. I'm planning on developing an app for my iPhone exclusively for my use. My question is can I add my custom app to my phone without having to go through the App Store? If I can avoid the App Store, how do I go about getting the app onto my phone? I do have Xcode and have learned Swift, so I just need to understand how to get the app onto my phone. Thank you for your help!
0
0
529
Oct ’23
Help - Cannot convert value of type 'String' to expected argument type 'OpenAISwift.Config'
Newbie coder here, using most recent Xcode and iOS 17 to build an app using Adam Rushy openaiswift tutorial. The app is entirely built and everything functions except this: Cannot convert value of type 'String' to expected argument type 'OpenAISwift.Config' So I cannot build the project, it refers to this line of code: func setup () { client = OpenAISwift(config: "removed api key for public view)") } func send(text: String, in the tutorial it said use authToken which Xcode said was wrong and must be config, so I changed it but it still doesn't work. Any help appreciated
1
0
1.2k
Oct ’23
App embedded in Java app
Hi folks I am struggling with following scenario: We have an app implemented in Java (Parent app). From this parent app I would like to call .app that is implemented in Swift (Child app). We are trying to build package that can be distributed in Appstore using Install4j, partially with success. The app can be validated and distributed in TestFlight, however when we are trying to open child app, nothing happens. The app does not open. I am not sure if we do correct signing BECAUSE, when we initially distributed the app outside AppStore, Child App was signed with Developer ID Application and it did work correctly. How should we sign all apps? Is there any other way that we can pack this scenario without using Install4j?
1
0
465
Oct ’23
App getting updated without pushing changes to app store.
Hello, I am pushing changes to ad-hoc application via OutSystems. From here I usually have to change distribution settings to fit App store with certificates etc. I have different provisioning profile, app identifier etc on OutSystems, but when I push changes it now also gets updated on App Store, without me pushing any changes there since August. Even the testflight version get the newest changes. How is this possible? What could possibly be going on? Are there any changes in how you distribute apps to app store? We use apple business manager to distribute newest version from app store, so this is critical as we don't want it to push the same changes we push to Ad-Hoc prod application through outsystems distribution.
1
1
505
Oct ’23
Distribution Provisioning Profile isn't showing up in Xcode
I'm a newbie to deploying flutter apps to the iOS app store, so bare with me. Below is a screenshot of Xcode, and it says that it can't find any "iOS Development provisioning profiles." I don't understand why I need one. The strange thing is that I created a Distribution Profile, so I don't know why that's not showing up here. When I run the build command from the flutter CLI this is what I get: I find this all very confusing and frustrating. If anyone could help that would be great. Also if anyone needs more info about my setup just ask. I'm not sure what info is helpful and what isn't.
4
2
4.6k
Oct ’23
What is the recommended way for Non App Store distribution to Client MDM ?
We currently have a Developer Account registered as an organisation and publish our app to App Store. One of our customers want our App to be part of their MDM, so that they can distribute it to their employees without App Store. Questions: What are the steps to make our App available to Client's MDM solutions like Microsoft Intune ? Will this be achieved by having Apple Developer Program (Account) or any other steps are involved ? Will the solution be applicable to multiple Clients using their own different MDM solutions ?
0
0
460
Sep ’23
Problems using a Mac as a headless build server
My team has a Mac desktop we use as a build server to do tests, packaging, codesigning, and notarization. The service was kicked off inside a cron job, but we started encountering issues with codesigning (codesign errSecInternalComponent). Eventually we tried turning the service into a LaunchAgent and codesigning now works, presumably because it now has access to the user's keychains. However, this means the service doesn't start until someone logs the user into the console, which is pretty inconvenient at times. We are also finding that the machine is now inaccessible remotely, over SSH and VNC, until there's a console login at the physical host. Our institutional security policies require the use of FileVault and disallow auto-login, and our IT folks haven't suggested any workarounds. What is the recommended way to configure a Mac desktop as a headless server that can reboot without user interaction? We don't, and can't, use XCode. We develop a multi-platform application written in Java.
2
0
1.2k
Sep ’23
Java classpath for my self contained MacOS java app does not work
In a nutshell, the classpath that I'm setting in Info.plist does not seem to work. I continue to get an error saying that jar files pointed to by the classpath cannot be found. Any ideas on what I could be doing wrong . I put the jar files in : MakinaCraftApp.app/Contents/Resources/Java I've even tried referencing the jar file directly with an absolute classpath but it still doesn't work. It is almost as if my app is prohibited from having access to jar file referenced by a classpath. Is there some type of permission I do not know about? Any suggestions are greatly appreciated. This is my Info.plist file: <dict> <key>CFBundleExecutable</key> <string>bin/MakinaCraftApp</string> <key>CFBundleGetInfoString</key> <string>MachinaWJavaApp (1)1.0, Copyright {user} 2004. All rights reserved.</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleIconFile</key> <string>MachinaWJavaApp (1).icns</string> <key>CFBundleIdentifier</key> <string>MakinaCraft</string> <key>CFBundleName</key> <string>MachinaWJavaApp2</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0.1</string> <key>Java</key> <dict> <key>MainClass</key> <string>com.noatechnologies.machinawjava.MachinaWJavaApp</string> <key>StartOnMainThread</key> <true/> <key>Arguments</key> <array/> <key>ClassPath</key> <string>$JAVAROOT/gluegen_rt:$JAVAROOT/gluegen_rt_natives_macosx_universal:$JAVAROOT/jogl_all:$JAVAROOT/jogl_all_natives_macosx_universal:$JAVAROOT/jogamp_fat.jar</string> </dict> </dict>
0
0
506
Aug ’23
dSYM using xcodebuild
I am building my macOS app for distribution outside the Mac App store using a shell script as shown below. When a user reports a crash, all I get is offsets and I can’t tell what is going on, where: Thread 3 Crashed: 0 Meteorologist 0x1026da778 0x10268c000 + 321400 1 Meteorologist 0x1026d6354 0x10268c000 + 303956 2 Meteorologist 0x1026d0a8c 0x10268c000 + 281228 3 Meteorologist 0x1026e8ae4 0x10268c000 + 379620 4 Meteorologist 0x1026f7501 0x10268c000 + 439553 5 Meteorologist 0x1026f6621 0x10268c000 + 435745 6 Meteorologist 0x1026f74f9 0x10268c000 + 439545 7 Meteorologist 0x1026f7509 0x10268c000 + 439561 If I understand correctly, I need to include a dSYM file in my executable. I have DWARF with dSYM File in my Build Options, Release value. I can see the dSYM in my .xcarchive file. How do I get it into my .app executable? I do include uploadSymbols=TRUE in my exportOptionsPlist file. If I manually copy the dSYM file, prior to the notarytool step, notarytool throws an error. If I insert the dSYM file after I notarize then it gets flagged when I open the app because it doesn't match what was notarized. #!/bin/bash #set -e #set -x TEMPLATE_DMG=dist/template.dmg # "working copy" names for the intermediate dmgs WC_DMG=wc.dmg WC_DIR=/Volumes/Meteorologist VERSION=`cat ../website/VERSION2` SOURCE_FILES="./Build/Release/Meteorologist.app ./dist/Readme.rtf" MASTER_DMG="./Build/Meteorologist-${VERSION}.dmg" # .altoolid = abc@icloud.com aka Developer Email # .altoolpw = abcd-efgh-ijkl-mnop aka App-specific password # .altooltm = ABCD123456 aka Team ID dev_account=$(cat ~/.altoolid) dev_passwd=$(cat ~/.altoolpw) dev_teamid=$(cat ~/.altooltm) mkdir ./Build rm -rf ./Build/* echo echo ........................ echo "------------------------ Storing Credentials -----------------------" echo xcrun notarytool store-credentials --apple-id \"$dev_account\" --team-id \"$dev_teamid\" --password \"$dev_passwd\" notary-scriptingosx xcrun notarytool store-credentials --apple-id "$dev_account" --team-id="$dev_teamid" --password "$dev_passwd" notary-scriptingosx > xcodebuild.log exit_status=$? if [ "${exit_status}" != "0" ] then cat xcodebuild.log exit 1 fi rm xcodebuild.log echo echo ........................ echo "------------------------ Building Project as an Archive -----------------------" echo xcodebuild -project Meteorologist.xcodeproj -scheme Meteorologist -configuration Release -derivedDataPath ./Build -allowProvisioningUpdates --options=runtime clean archive -archivePath ./Build/Meteorologist.xcarchive xcodebuild -project Meteorologist.xcodeproj -scheme Meteorologist -configuration Release -derivedDataPath ./Build -allowProvisioningUpdates --options=runtime clean archive -archivePath ./Build/Meteorologist.xcarchive > xcodebuild.log exit_status=$? if [ "${exit_status}" != "0" ] then cat xcodebuild.log exit 1 fi rm xcodebuild.log echo echo ........................ echo "------------------------ Creating exportOptions.plist -----------------------" echo \<?xml version=\"1.0\" encoding=\"UTF-8\"?\> > exportOptions.plist echo \<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\> >> exportOptions.plist echo \<plist version=\"1.0\"\> >> exportOptions.plist echo \<dict\> >> exportOptions.plist echo \<key\>destination\</key\> >> exportOptions.plist echo \<string\>export\</string\> >> exportOptions.plist echo \<key\>signingStyle\</key\> >> exportOptions.plist echo \<string\>automatic\</string\> >> exportOptions.plist echo \<key\>method\</key\> >> exportOptions.plist echo \<string\>developer-id\</string\> >> exportOptions.plist echo \<key\>uploadSymbols\</key\> >> exportOptions.plist echo \<true/\> >> exportOptions.plist echo \</dict\> >> exportOptions.plist echo \</plist\> >> exportOptions.plist echo echo ........................ echo "------------------------ Exporting the Archive -----------------------" echo xcodebuild -exportArchive -archivePath ./Build/Meteorologist.xcarchive -exportOptionsPlist exportOptions.plist -exportPath ./Build/Release xcodebuild -exportArchive -archivePath ./Build/Meteorologist.xcarchive -exportOptionsPlist exportOptions.plist -exportPath ./Build/Release > xcodebuild.log exit_status=$? if [ "${exit_status}" != "0" ] then cat xcodebuild.log exit 1 fi rm xcodebuild.log echo echo ........................ echo "------------------------ Compressing the app -----------------------" echo /usr/bin/ditto -c -k --keepParent ./Build/Release/Meteorologist.app ./Build/Release/Meteorologist.zip /usr/bin/ditto -c -k --keepParent ./Build/Release/Meteorologist.app ./Build/Release/Meteorologist.zip if [ "${exit_status}" != "0" ] then echo "Compress (ditto) failed" exit 1 fi echo echo ........................ echo "------------------------ Notarizing the app -----------------------" echo xcrun notarytool submit ./Build/Release/Meteorologist.zip --keychain-profile=notary-scriptingosx --wait xcrun notarytool submit ./Build/Release/Meteorologist.zip --keychain-profile=notary-scriptingosx --wait if [ "${exit_status}" != "0" ] then echo "xcrun notarytool failed" exit 1 fi echo echo ........................ echo "------------------------ Stapling the app -----------------------" echo xcrun stapler staple "./Build/Release/Meteorologist.app" xcrun stapler staple "./Build/Release/Meteorologist.app" if [ "${exit_status}" != "0" ] then echo "xcrun stapler failed" exit 1 fi echo rm ./Build/Release/Meteorologist.zip
2
0
1.7k
Aug ’23
alternate app icon & product page optimization
Hi, I'm considering trying the product page optimization with other app icons. The doc says that " If an app is downloaded from a product page with a test treatment, the test treatment app icon displays throughout the download process and on the user’s device." (https://developer.apple.com/help/app-store-connect/create-product-page-optimization-tests/configure-test-treatments). Do I understand correctly that no additional code is required when the app is downloaded from the test treatment ? No code required on app launch ? I appreciate any feedbacks, Thank you
0
0
772
Jul ’23