Dive into the vast array of tools and services available to developers.

Post

Replies

Boosts

Views

Activity

Managed apple ID and Wallet app support
Hi everyone, I'm currently working on implementing some of the discussed ideas, but I've run into an issue. Our company uses managed Apple IDs on all of our iPhones are company-owned. Recently, we updated some of these devices to iOS 17, but we've noticed that the Wallet app is not visible on them. There is no restrictions from our MDM and without the managed Apple ID signed in i can see the app and its usable.
0
1
845
Oct ’23
Running the program on OSX failed
Hi, ALL, I'm writing a program that should operate with different DBMSes... I'm using Xcode and test it under OSX High Sierra 10.13.6. The compilation of my code succeeds however, when I tried to run it from Terminal, I got following: Filed to load shared library liblibdbloader.dylib: dlopen(liblibdbloader.dylib, 2). Library not loaded: /usr/local/lib/liblibmysql.dylib. Referenced from Reason: image not found At the end of the compilation I'm running a script which contains following lines: cp -f ~/dbhandler/dbhandler/mysql-server/BuildOSX/libmysql/libmysqlclient.dylib "$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/libmysqlclient.dylib" install_name_tool -id "@rpath/Frameworks/libmysqlclient.dylib" "$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/libmysqlclient.dylib" cp ~/dbhandler/dbhandler/Build/Products/Debug/liblibmysql.dylib "$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/liblibmysql.dylib" install_name_tool -id '@rpath/Frameworks/liblibmysql.dylib' "$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/liblibmysql.dylib" install_name_tool -change "/Users/igorkorot/dbhandler/dbhandler/mysql-server/buildOSX/libmysql/libmysqlclient.21.dylib" @executable_path/../Frameworks/libmysqlclient.dylib "$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/liblibmysql.dylib" install_name_tool -change "/usr/local/lib/liblibmysql.dylib" @executable_path/../Frameworks/liblibmysql.dylib "$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/liblibdbloader.dylib" Trying to verify the linkage I have: Igors-MacBook-Air:Frameworks igorkorot$ otool -L liblibmysql.dylib liblibmysql.dylib: @rpath/Frameworks/liblibmysql.dylib (compatibility version 1.0.0, current version 1.0.0) @executable_path/../Frameworks/libmysqlclient.dylib (compatibility version 21.0.0, current version 21.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) Igors-MacBook-Air:Frameworks igorkorot$ otool -L libmysqlclient.dylib libmysqlclient.dylib: @rpath/Frameworks/libmysqlclient.dylib (compatibility version 21.0.0, current version 21.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) Igors-MacBook-Air:Frameworks igorkorot$ pwd /Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/dbhandler.app/Contents/Frameworks Igors-MacBook-Air:Frameworks igorkorot$ I don't understand why the linker still trying to load the library from the /usr/local/lib. The library is not referencing anything from /usr/local/lib. Can someone explain what is going on?
0
0
471
Oct ’23
Masking WKInterfaceLabel objects
I have a WKInterfaceLabel that spans two other objects (could be most anything, but generally solid color). (I'm using Interface Builder). One object is light and the other is dark. I'd like the part of the label on the light object to be black, and the part on the dark object to be white. See the example below. Is there any way to "mask" out part of the label so that the objects behind show through? I could have two labels, one black and one white, but would need to mask out each half. I can't simply half cover each label to mask it out because that will mask out the other.
0
0
469
Oct ’23
Lock Screen Password Reset Impossible Since Sonoma
Posting this here in hopes someone at Apple will be made aware. Since Sonoma, the "Old Password" field was removed from the Reset Password UI. Apparently, this made it impossible to reset a password from the lock screen even when the password meets the requirements. Since there was no other option but to forcefully reboot, the Reset Password UI on the login screen was even less intuitive. Enter password, prompted to reset password, specify new password (same password attempted from Lock Screen Rest Password UI), Reset Password button grayed out. Hmm. Where do I enter my old password that I just entered to trigger the Reset Password UI? Oh, the "Enter Password" field. We've had two users resort to resetting their password with the FileVault recovery key due to this Reset Password UI change. If anyone else has in an environment with MacOS Sonoma devices managed by MDM, would be interested to know if the same behavior occurs.
2
1
958
Oct ’23
WatchDog failed to terminate gracefully after 5.0s
{signal=SIGKILL, exceptionCode=0x00000000, virtualMemoryRegionInfo=unkown, terminationReason=<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:[application<com.***.***>:3682] failed to terminate gracefully after 5.0s ProcessVisibility: Background ProcessState: Running WatchdogEvent: process-exit WatchdogVisibility: Background WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 12.680 (user 7.120, system 5.560), 41% CPU", "Elapsed application CPU time (seconds): 1.309, 4% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive>} i have no idea about this crash. who can explain this for me? what cause this problem? when does this problem occur?
1
0
1.3k
Oct ’23
Enterprise distribution of iOS app does not install watchOS app
We have a project with both an iPhone target, and a watchOS target. In Xcode, if I install the iPhone app to my local device, the watchOS app is also installed automatically. This is the desired outcome. When I go thru the motions of distributing the app via internal website, the iOS app is installed to users iPhones, but the watch component is missing. Here's what I do: product / clean build folder product / archive the screen shows "watchOS - iOS app install is required" distribute Enterprise at this point, the left panel shows my app with "iOS, watchOS" This creates files in a folder for me to deploy. application.ipa distribution summary.plist exportoptions.plist packaging.log So -- it looks to me like everything is acting perfectly, but when installing the app on the end user device, the watch app is not there. I've tried starting this process with the local watch app selected in the top bar, with no difference. Looking inside the generated 4 files, I do see "watch" in there.... So -- what am I doing incorrectly? It seems like when I get a public app off the store, there is an option to also grab the companion watch app, but not too sure in this enterprise environment. Also, I have an old manifest.plist that lives in the distribution folder, but that does not get regenerated when I do a new [distribute app]. Not even sure where that came from over time and how to create a new one. Maybe the watch app is supposed to be in there? There's a checkbox I'm missing.... Ideas? Thanks.
0
0
381
Oct ’23
Apllication crashes only if it is compiled with -o0
Hallo, I am co-author of an open source timetabling software. This software is running many years now on Windows, Linux and MacOS without crashing. So I compiled it with a lot of different compilers and it is always running fine. (with Windows mingw compiler, linux gcc compiler, ...) Now I compiled it on my new Mac and noticed and it is running fine as long as i am compiling it with -o1 or -o2 or -o3 or -ofast or -os or -oz. But as soon as I compile it with -o0, then it crashes with MacOS. It doesn't crash if I compile with -o0 under Linux gcc compiler. I tried to do a minimum example, but as soon as I remove some - in that situation unneeded - code, it is running fine again. So it looks like a memory limit in the compiler or something like that. I don't get it. Any ideas how I can locate and/or fix the bug? You can find the source here: https://lalescu.ro/liviu/fet/forum/index.php?topic=5729.0 I compiled with the latest clang version shipped with latest MacOS Sonoma. I am also attaching the crash report log. Thank you for your help. appleLog.txt.log
2
0
684
Oct ’23
Invalid use of branch fixup with Xcode 15
Hello! I originally mentioned this issue here and was advised to start a new thread and tag it with Linker, so I did. The problem is that when using Xcode 15 to build my code, I'm getting this link error: Currently this issue is preventing us to move to using Xcode 15. Xcode 14.3 can build our code correctly. So far our investigation brought us to either disable LTO for our project (which is not good, as our codebase heavily relies on interprocedural optimizations offered by the LTO), or to add flags -Wl,-ld_classic -Wl,-mllvm,-opaque-pointers to our linker. We currently opted for the second option for mac builds, while iOS builds don't recognize -ld_classic flag. However, since the classic LD64 is scheduled to be removed in a future update, we will need to find a more permanent solution. The build issue affects both Mac and iOS builds.
2
0
1k
Oct ’23
App Lock Policy for a AppStore App restricts popup
We are making an appstore app to be opened in single app kiosk mode(App Lock Policy for a single app) . When tried to open and login , a popup which is seen when opened without kiosk mode is not opening up. Attached the screenshot of the popup screen. (not able to attach the video here) Raised Feedback id - FB13304240 AppLock Policy Payload sent to the device : <dict> <key>PayloadVersion</key> <integer>1</integer> <key>PayloadUUID</key> <string></string> <key>PayloadType</key> <string>Configuration</string> <key>PayloadOrganization</key> <string>fhd</string> <key>PayloadIdentifier</key> <string>sample_id</string> <key>PayloadDisplayName</key> <string>Kiosk Zenoti</string> <key>PayloadRemovalDisallowed</key> <true/> <key>PayloadContent</key> <array> <dict> <key>PayloadVersion</key> <integer>1</integer> <key>PayloadUUID</key> <string>ad18a938-211e-4670-9be6-6f43162b6290</string> <key>PayloadType</key> <string>com.apple.app.lock</string> <key>PayloadOrganization</key> <string>MDM</string> <key>PayloadIdentifier</key> <string>a � �d18a938-211e-4670-9be6-6f43162b6290</string> <key>PayloadDisplayName</key> <string>AppLock Policy</string> <key>App</key> <dict> <key>Options</key> <dict> <key>DisableTouch</key> <false/> <key>DisableDeviceRotation</key> <false/> <key>DisableVolumeButtons</key> <false/> <key>DisableRingerSwitch</key> <false/> <key>DisableSleepWakeButton</key> <false/> <key>DisableAutoLock</key> <true/> <key>EnableVoiceOver</key> <false/> <key>EnableZoom</key> <false/> <key>EnableInvertColors</key> <false/> <key>EnableAssistiveTouch</key> <false/> <key>EnableSpeakSelection</key> <false/> <key>EnableMonoAudio</key> <false/> <key>EnableVoiceControl</key> <false/> </dict> <key>UserEnabledOptions</key> <dict> <key>VoiceOver</key> <false/> <key>Zoom</key> <false/> <key>InvertColors</ke � y> <false/> <key>AssistiveTouch</key> <false/> </dict> <key>Identifier</key> <string>com.zenoti.mpos</string> </dict> <key>Identifier</key> <string>com.zenoti.mpos</string> </dict> </array> </dict> </plist>
0
0
554
Oct ’23
Unable to Sign in to iCloud
Having trouble in signing in to iCloud when a managed supervised iPhone is restricted with few apps using “allowListedAppBundleIDs” restrictions key. Only iPhone has this trouble, this issue is not reproducible in iPad. Even after entering the Apple ID and password, the account seems to be not logged in. Have attached screenshots for reference. Tested device iOS Version : 17.1 Kindly explain this behaviour. Feedback ID : #FB13318247 - Sysdiagnose logs attached here.
1
0
731
Oct ’23
How to launch Web App on power options screens like Login, Lock, Sleep, Restart.
One way that I identified to get a button on the login screen that appears after log off, is to use Pre login agent. I could get the button on that screen and trying to identify ways to launch a web application on click of the button. Also could not get a way to render the button on the login screens that appear after lock, sleep and restart of the system. Appreciate any help on these points.
0
0
291
Nov ’23
App publish with intranet calls
Hello, I was publishing for my organization a new IOS App (for IPhone devices). This App use intranet endpoints to consume apis and auth services, and will be published under our company store and using our MDM. The idea is that the MDM install an in-app vpn when you install the aplication, and it works in the IOS device. During revision phase in applestore connect, the app was rejected, and they expose that app does not work (because if you haven't conexion to intranet, the app is in white and can't be used). What is the proper way to proceed? I mean, I has been 4 days talking in the revision comments, and they don't provide me a clear solution. They told me that the app should have a "demo" version. But, what I consider we can do is expose temporally to internet same services that the app use, and update a binary file using internet ednpoints to be validated, and later, change them to intranet endpoint in a new binary, but I don't know if for the second revision I would get a new rejection... They didn't provide me feeback about what to do in this cases, and redirected me to this forum... The idea is only use this application under our VPN organization, and only use intranet endpoint for security reasons we have under the application. Do you have a same issue or you know better about the way to proceed?
3
0
696
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
565
Nov ’23
Apple Business Manager Migration
Hello, We are implementing Apple Business Manager in our organization. Previously, we had personal Apple accounts with our domain, and when synchronizing our Apple Business Manager account with Azure AD, we identified several conflicting accounts. The system suggested notifying users to switch from their personal accounts. Is there a way to transfer these accounts to Apple Business Manager without the need for a switch? If not, what are the recommendations for our scenario? We appreciate the assistance!
0
0
509
Nov ’23
Company name as the seller name without an entity type
I'm about to start a new company and planning to create a corporate developer account. I know AppStore automatically displays the company's legal name as the seller name like ABC LLC, XYZ Corportation, etc. What I wonder is if it is possible to display only the company name by omitting the entity type like "ABC" or "XYZ". Here an example: https://ibb.co/ZHGb1dp I don't if it is something that I should do during account creation or requesting a DUNS number.
0
0
541
Nov ’23