I have a .NET iOS App(previously Xamarin.iOS) and we recently updated the info.plist minimumosversion from 13.0 to 15.0. The problem is it is not allowing the app to run on devices with iOS 15.
Need advice on how we can restrict versions under iOS 15 but still get the iOS 15 devices to run the App
General
RSS for tagDive into the vast array of tools and services available to developers.
Post
Replies
Boosts
Views
Activity
I have a .NET8 iOS app that works fine in local testing but is consistently crashing in app review. I have the original dsym and the crash log, but symbolicating the log only partially reveals the details.
I've tried using atos to look up individual hex addresses, but this is still as good as I can get. It is much too vague for me to pinpoint the problem, so I'm stuck. Any suggestions on how to resolve this?
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1df4e51d4 __pthread_kill + 8
1 libsystem_pthread.dylib 0x21729eef8 pthread_kill + 268
2 libsystem_c.dylib 0x196bbead8 abort + 128
3 FolioPlayer 0x107e6347c 0x102618000 + 92583036
4 FolioPlayer 0x107e066dc mono_runtime_setup_stat_profiler + 92202716 (mini-posix.c:662)
5 libsystem_platform.dylib 0x2171e9afc _sigtramp + 56
6 libsystem_pthread.dylib 0x21729eef8 pthread_kill + 268
7 libsystem_c.dylib 0x196bbead8 abort + 128
8 FolioPlayer 0x107b919a4 xamarin_find_protocol_wrapper_type + 89627044 (runtime.m:1218)
9 FolioPlayer 0x107d4244c mono_invoke_unhandled_exception_hook + 91399244 (exception.c:1263)
10 FolioPlayer 0x107ddce78 mono_jit_exec + 92032632 (driver.c:1314)
11 FolioPlayer 0x107b99eb0 xamarin_main + 89661104 (monotouch-main.m:0)
12 FolioPlayer 0x107e456a8 main + 92460712 (main.arm64.mm:298)
13 dyld 0x1b4b3dec8 start + 2724
I am trying to fix a bug in my iOS app that is dependent upon date and time. Is there any way to set the actual time on the iOS Simulator to a specific date and time? I know that you can set one for the status bar, but that doesn't affect the actual date and time that is reported by the system to apps.
I tried to create dmg from folder using hdiutil and diskutility , both time it failed creation for a particular folder name, when i change folder name it worked. The error i get is
could not access /Volumes/abc/abc.app - Operation not permitted
hdiutil: create failed - Operation not permitted
When i change abc to def it works.
The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
DVTErrorCreationDateKey = "2024-10-06 09:19:05 +0000";
}
Failed to find asset: com.apple.gm.safety_deny.output.code_intelligence.base - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
System Information
macOS Version 15.0.1 (Build 24A348)
Xcode 16.0 (23051) (Build 16A242d)
Timestamp: 2024-10-06T11:19:05+02:00
I have been waiting for a response for approval of the ESIm rights permit for over 6 months and I have not had any response. I contacted support and they hang up on me. I don't know what to do anymore. Does anyone know how I can obtain the status of my application?
Hi,
I'm producing a dylib that another developer is trying to link with an ffmpeg plugin, building on Sequoia (this was not an issue prior to upgrading the OS). The error is:
ld: Shared cache eligible dylib cannot link to ineligible dylib '@rpath/libme.dylib'. Remove link to ineligible dylib, fix its eligibility, or opt out of the shared cache using the build setting 'LD_SHARED_CACHE_ELIGIBLE=NO' (or linker flag '-not_for_dyld_shared_cache')
clang: error: linker command failed with exit code 1 (use -v to see invocation)
So, simple question - how do I "fix my dylib's eligibility"? I can't seem to find much info about this online.
Thanks,
Jeff
Hi,
I developed an app. It is using Firebase Cloud Messaging to send notifications. I got my 5th rejection from Apple. I tried to distribute the app from Xcode with new Provisining Profile and Certificates but it go rejected. I used EAS to distribute it automatically but 5 minutes ago it is again rejected. I tried on iPhone and iPad simulators, it is working perfectly fine. Even sending notifications are working perfect. Please can you help me? My crash reports are :
crash1
crash2
crash3
I am developing an app using Flutter.
When I build, I encounter the following error:
Parse Issue (Xcode): Module 'app_tracking_transparency' not found
/.../ios/Runner/GeneratedPluginRegistrant.m:11:8
I have cleared the cache and reinstalled everything, but the error persists.
Please let me know the cause and possible solutions.
occured error source
//
// Generated file. Do not edit.
//
// clang-format off
#import "GeneratedPluginRegistrant.h"
#if__has_include(<app_tracking_transparency/AppTrackingTransparencyPlugin.h>)
#import <app_tracking_transparency/AppTrackingTransparencyPlugin.h>
#else
@import app_tracking_transparency;
#endif
Hi,
I am encountering a linking issue with a project for an iOS .NET MAUI application that I am developing using Visual Studio 17.11.4. This project includes a custom static library (.a). The custom static library (.a) depends on the libxml2 library. However, it appears that libxml2 is not included in Xcode 15.4 (Sonoma OS), resulting in the following error:
error : Undefined symbols for architecture arm64:
error : "_xmlBufferCreate", referenced from: ....
I have set the following additional arguments for compilation: -cxx -gcc_flags "-lz -lxml2".
Despite my efforts to install libxml2 using Homebrew, I have not been successful.
Could you please advise on how I can resolve this issue? Specifically, what is the path that Xcode uses to include libxml2?
Hello,
I am currently learning SwiftUI through a paid course and am working on integrating Firebase into my project. While trying to add the Firebase package through Xcode, everything seems to work fine except for the fact that I am unable to find the FirebaseFirestoreSwift package. I am using the latest versions of both Xcode and macOS.
I have attached a screenshot from the package manager where I couldn't locate the FirebaseFirestoreSwift package. Could you kindly assist me in resolving this issue? How can I correctly add this specific package to my project?
Thank you for your support.
Hi,
I have an issue with linker as well. I am building a IBM MQ driver using Erlang driver. It is building ok in Linux x64/Arm64 but doesn't build in macOS Arm64.
Can you help please.
e072513@VL-K4YR0QX62K c_src % gcc -I /opt/homebrew/Cellar/erlang@26/26.2.5/lib/erlang/usr/include -I /opt/mqm/inc -shared -fPIC -L /opt/mqm/lib64 -L /opt/homebrew/Cellar/erlang@26/26.2.5/lib/erlang/lib/erl_interface-5.5.1/lib -lei -lmqic_r -lpthread mq_series_drv.c -o mq_series_drv.so -v
Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: arm64-apple-darwin23.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx14.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -dumpdir mq_series_drv.so- -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name mq_series_drv.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.0 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/e072513/ips-tch-switch/_checkouts/mq_series/c_src -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I /opt/homebrew/Cellar/erlang@26/26.2.5/lib/erlang/usr/include -I /opt/mqm/inc -I/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/e072513/ips-tch-switch/_checkouts/mq_series/c_src -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -fcolor-diagnostics -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /var/folders/zw/xt5wvkzj43v_p458qgx16bxw0000gn/T/mq_series_drv-d90068.o -x c mq_series_drv.c
clang -cc1 version 16.0.0 (clang-1600.0.26.3) default target arm64-apple-darwin23.6.0
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
/opt/homebrew/Cellar/erlang@26/26.2.5/lib/erlang/usr/include
/opt/mqm/inc
/Library/Developer/CommandLineTools/usr/lib/clang/16/include
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
/Library/Developer/CommandLineTools/usr/include
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks (framework directory)
End of search list.
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -no_deduplicate -dynamic -dylib -arch arm64 -platform_version macos 14.0.0 15.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mllvm -enable-linkonceodr-outlining -o mq_series_drv.so -L/opt/mqm/lib64 -L/opt/homebrew/Cellar/erlang@26/26.2.5/lib/erlang/lib/erl_interface-5.5.1/lib -L/usr/local/lib -lei -lmqic_r -lpthread /var/folders/zw/xt5wvkzj43v_p458qgx16bxw0000gn/T/mq_series_drv-d90068.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a
Undefined symbols for architecture arm64:
"_driver_alloc", referenced from:
_mq_drv_start in mq_series_drv-d90068.o
_do_connect in mq_series_drv-d90068.o
_do_put in mq_series_drv-d90068.o
_do_get in mq_series_drv-d90068.o
"_driver_async", referenced from:
_do_connect in mq_series_drv-d90068.o
_do_put in mq_series_drv-d90068.o
_do_get in mq_series_drv-d90068.o
"_driver_free", referenced from:
_mq_drv_stop in mq_series_drv-d90068.o
_ready_async in mq_series_drv-d90068.o
_do_free in mq_series_drv-d90068.o
"_driver_output", referenced from:
_ready_async in mq_series_drv-d90068.o
_error_bad_arg in mq_series_drv-d90068.o
_return_error in mq_series_drv-d90068.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
https://developer.apple.com/documentation/metrickit
I am unable to get the MetricKit logs for past 24 hours time period on my test flight build. I have been able to achieve immediate logs for crash, cpu exception and diskwrite exceptions. But the logs which contains all the crashes, cpu exceptions and diskwrite exceptions, battery and network details, etc for the previous day/24h are never generated. I have used the following method to log the payloads in the file systems. I have tested the same on normal xcode builds as well as TestFlight build.
func didReceive(_ payloads: [MXDiagnosticPayload])
https://developer.apple.com/documentation/metrickit/mxmetricmanagersubscriber/didreceive(_:)-9yd4u
We recently upgrade our OS from Sonoma to Sequoia and have been using Fastlane to generate our ipa(s)
However since the upgrade we are facing the following error:
00:26:30 + xcodebuild -exportArchive -exportOptionsPlist /var/folders/sk/_k2v73dd5hscn2mcvcqc43gs69_8bc/T/gym_config20240930-10121-gjvg0h.plist -archivePath /Users/ejeniossvc/jenkins/workers/workspace/local-jenkins-build32/-1449677665/452/build-dir/rqa-EnterpriseDistribution/dist/MY.xcarchive -exportPath /var/folders/sk/_k2v73dd5hscn2mcvcqc43gs69_8bc/T/gym_output20240930-10121-27pj6 -allowProvisioningUpdates -skipPackagePluginValidation -skipMacroValidation CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=xxxxxxxxxxxx
00:26:30 error: Couldn't load -exportOptionsPlist: The data couldn’t be read because it isn’t in the correct format.
00:26:30
00:26:30 Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not a valid property list.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Encountered unexpected character s on line 1 while looking for close tag for key" UserInfo={NSDebugDescription=Encountered unexpected character s on line 1 while looking for close tag for key})))
Bonjour,
Depuis la mise jour de Xcode, j'ai deux erreurs dans le Runner que je n'arrive pas à résoudre.
Merci pour votre aide.
We have noticed that the hang reports provided in Xcode include the percentage of hang time, which are used to sort from high to low (effectively sorting by priority).
However when adding these percentages up we do not get 100%. For newer releases the total may be quite low (5-20%) but even for older releases we only get up to around 85%.
Are there reports we are missing? Is there a threshold or something that lower percentage reports are not hitting?
Any level of understanding here would be appreciated!
I have updated my firebase with the latest version, but on simulator, apple log in and parsing from firebase server is not working on iOS 18 when working fine on the actual test device. However iOS 17 simulator works perfect as X-Code 15.
And previews are not working as well with my current app coding, which was coded in previous X-code 15.
Is there any API changes? Any help?
Or 18.1 might fix this bug?
I test my app, by building it and hoping it will go on my iOS. This is the only workflow I have to test my testing app.
I use AVAudioEngine and AVAudioSession. It sounds painful but, yes. I literally comment out parts and build the app everytime and see if it would crash or not.
Sometimes I'd get Crash Logs in the Analytics part, but I haven't managed to get them there anymore. So I had no more Crash Logs.
I was wondering if there's a function or something. Maybe something that I can do in AppDelegate to make it create a Crash Log somewhere?
Uncaught Exception overwrite, didn't solve the issue for me. It really has to be an actual crash log, something that catches these.
If someone knows, let me know! Thanks
I am new. I have never used Swift nor XCode or the CLI. But I have found and managed to test my App that I created for testing on my iPhone.
I have absolutely no intentions to put it on the App Store. I even made it Open-Source on GitHub.
I learned a lot of things and ways to prevent crashes, but unfortunately I am slowly starting to lose the ability to put my App on my iOS.
I am new here as a developer. But I have troubles to create a Developer Account, so I am not sure what I should do.
Here's what I think I am having issues with:
I feel like you can only create a Developer Account if you have a business, is this true?
I really find it cool to test my own App on my own phone. But I want to do it in an official way. But I don't know how.
Others have told me that you'd need a License for the App Store. But I am not trying to put it on the App Store, will this make it impossible for me to test my own app?
Why make an app if not putting it on the App Store?
You can learn. If you make good Apps or Libraries, you can provide them to other Developers! Maybe even an opportunity to collab with someone and even indeed put it on the App Store with a valid Developer Account.
Seriously, if I wouldn't have been able to test my iOS app through other ways on my iPhone, I'd have never been able to make a short breakdown about AVAudioEngine and AVAudioSession. I've seen people that have run into these crashes. I tried to look up for a fix, but found none.
I saw apps that allowed you to use a Microphone on a Laptop/PC and I decided to make my own one to test, and succeded, while I yet need to figure out a few crashes, I managed to do it, and I really want to continue and actually use my own App...
So I was really happy that I could make a post to provide a guide in hopes that it would help someone. And I would do more, but I really need help with figuring out how I can test my own app on my own phone.
I hope that Developer Relations can help with this.
I've got a bunch of AudioUnit projects approaching release, and am attempting to build an installer for them.
All are based on the AudioUnit template in Xcode 14.
What actually governs how the system detects an AudioUnit? The instructions I have seen say that the built .appex should be renamed to have the extension .component and installed into /Library/Audio/Plug-Ins/Components/ - great, I am able to build a signed installer that does that (i.e. strip out the built Application project that is part of the AudioUnit template but useless to, say, a Logic Pro user), include the .appex that declares the plugin and embeds a Framework that contains the actual code (so it can be loaded in-process).
auval -l does not show it after running the installer, nor does Console show anything logged suggesting that it was found but malformed or something like that.
Meanwhile, simply building the project causes auval -l to show an install of it in the build directory, and I have noticed that if I delete that, auval -l would still show the plugin installed, but now in the location I exported an archive of the project (!!). What black magic is this?
However, deleting both the recent build and the archive, after running the installer, and there is no indication that AudioComponentRegistry even sees the copy of it in one of the two locations actually documented to be valid install locations for an AudioUnit.
I have, however, installed one third-party free AUv3 which installed into /Library/Audio/Plug-Ins/Components/
Am I misunderstanding something about how this works? Is there some string other than AudioComponentRegistry I should filter on in Console that might provide a clue why my AudioUnit installed there is not picked up? Must I ship the semi-pointless Application that is part of the Xcode template project, and whatever magical mechanism detects it when I build will work its magic on end-users' machines?
Or could the problem be that the Framework with the actual code under Contents/Frameworks inside the audio unit, rather than installed independently into /Library/Frameworks?