Developer Tools

RSS for tag

Ask questions about the tools you can use to build apps.

Developer Tools Documentation

Posts under Developer Tools tag

241 Posts
Sort by:
Post not yet marked as solved
2 Replies
3.4k Views
Hi everybody, I’m the maintainer of GNU Prolog (gprolog). I try to port it to the new arm64/darwin apple architecture since a contributor gave me an ssh access to its machine (I can thus only execute commands via command-line bash). I can compile gprolog (it uses a classical unix-style procedure ./configure + make using gcc (clang)). The machine is pretty fast ! However, at run-time I obtain a segmentation violation which I’d like to debug using lldb. I initially obtained this error:  error: process exited with status -1 (developer mode is not enabled on this machine and this is a non-interactive debug session.) I asked the owner of the machine to enable the developer mode. But now I obtain: error: process exited with status -1 (this is a non-interactive debug session, cannot get permission to debug processes.) I saw several posts mentioning entitlements (I’m sorry I’m not an expert of Mac). Here is what I obtain with my executable (I created a simple test case executable called ./t): codesign -d -vvv --entitlements :- ./t Executable=/Users/ddiaz/GP/src/BipsPl/t Identifier=t Format=Mach-O thin (arm64) CodeDirectory v=20400 size=8410 flags=0x20002(adhoc,linker-signed) hashes=260+0 location=embedded Hash type=sha256 size=32 CandidateCDHash sha256=c0ddf4ad6672b7c65b2a90d274bb29783625d502 CandidateCDHashFull sha256=c0ddf4ad6672b7c65b2a90d274bb29783625d5021b6e1d67c6be5c7774c265b5 Hash choices=sha256 CMSDigest=c0ddf4ad6672b7c65b2a90d274bb29783625d5021b6e1d67c6be5c7774c265b5 CMSDigestType=2 CDHash=c0ddf4ad6672b7c65b2a90d274bb29783625d502 Signature=adhoc Info.plist=not bound TeamIdentifier=not set Sealed Resources=none Internal requirements=none I saw, in some posts, a permission com.apple.security.get-task-allow which should be enable. Do you think the problem comes from this permission ? How can I add it using command-line console ? Thanks you for your help Didou
Posted
by
Post not yet marked as solved
2 Replies
3.6k Views
Report What did you do? run pod install What did you expect to happen? Firebase pods installing correctly What happened instead? CocoaPods states an LoadError giving out the reason: Image not found LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 9): Library not loaded: @rpath/libffi.7.dylib Referenced from: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle Reason: image not found - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle CocoaPods Environment Stack CocoaPods : 1.10.1 Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20] RubyGems : 3.0.3 Host : macOS 11.2.3 (20D91) Xcode : 12.4 (12D4e) Git : git version 2.24.3 (Apple Git-128) Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib Repositories : Plugins cocoapods-deintegrate : 1.0.4 cocoapods-plugins : 1.0.0 cocoapods-search : 1.0.0 cocoapods-trunk : 1.5.0 cocoapods-try : 1.2.0 Podfile ruby Uncomment the next line to define a global platform for your project platform :ios, '9.0' target 'CocoapodsTest' do Comment the next line if you don't want to use dynamic frameworks use_frameworks! Pods for CocoapodsTest pod 'Firebase/Core' pod 'Firebase/Auth' pod 'Firebase/Database' target 'CocoapodsTestTests' do inherit! :search_paths Pods for testing end target 'CocoapodsTestUITests' do Pods for testing end end Error LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 9): Library not loaded: @rpath/libffi.7.dylib Referenced from: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle Reason: image not found - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi.rb:6:in `rescue in top (required)' /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi.rb:3:in `top (required)' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Library/Ruby/Gems/2.6.0/gems/ethon-0.12.0/lib/ethon.rb:2:in `top (required)' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `top (required)' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:74:in `cdn_url?' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:36:in `create_source_with_url' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:21:in `find_or_create_source_with_url' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:178:in `block in sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:177:in `map' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:177:in `sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1073:in `block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run' /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/bin/pod:55:in `top (required)' /usr/local/bin/pod:23:in `load' /usr/local/bin/pod:23:in `main' Tried Fixes I've tried some possible fixes found in this issue page. When running: sudo arch -x86_64 gem install ffi the output will be: Building native extensions. This could take a while... Successfully installed ffi-1.15.0 Parsing documentation for ffi-1.15.0 Done installing documentation for ffi after 3 seconds 1 gem installed When running: sudo gem install ffi the output will be: Building native extensions. This could take a while... Successfully installed ffi-1.15.0 Parsing documentation for ffi-1.15.0 Done installing documentation for ffi after 3 seconds 1 gem installed Note: The terminal is checked as: Open with Rosetta
Posted
by
Post not yet marked as solved
2 Replies
1.2k Views
i am trying to build a IOS IPA for generic device, followed all the instructions, added signing certificates, team etc. but i am unable to build the product. any one please help me to resolve this issue. Checked to automatically managed signing. added device in developer site. when archiving product, at the end of process it gives error 'exit with non zero code' sent 435785657 bytes received 92 bytes 58104766.53 bytes/sec total size is 435732165 speedup is 1.00 Warning: unable to build chain to self-signed root for signer "Apple Development: ********" /Users/Saif/Library/Developer/Xcode/DerivedData/Runner-bemaxobcrmqabgcgltuauohrwrje/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/myapp.app/Frameworks/App.framework/App: errSecInternalComponent Command PhaseScriptExecution failed with a nonzero exit code i am just stuck on this error for about 3 days. tried each and every solution available on stackoverflow and apple developer forums. Flutter : 2.0.1 Xcode : 11.2.1
Posted
by
Post not yet marked as solved
2 Replies
386 Views
I have attempted to enroll in the MFi portal from Safari, Edge, Firefox, Brave, and Chrome browsers... but I keep encountering a perpetual loading circle. Any idea what might be going on? or what I might be doing wrong. Thanks for the help team!
Posted
by
Post not yet marked as solved
1 Replies
743 Views
When I try to compare my changes to the git repository using Code Review, Xcode says "Unable to load revisions". For the same file if I check history in either Source Control navigator or other git tools including the command line one, there is history and branches and all. Needless to say it worked perfectly before. Also for few files from the same project and repository there is an option to select previous commits to compare with. I did my Google research with not much of a luck. Some solutions offer some voodoo over running external git tools to commit and hope for the best to magically solve problems. Non of them worked for me. I am sure there is a proper explanation for that and perhaps a fix. Maybe git indices went south? Any ideas? I am using this version of Xcode on Catalina: Version 12.4 (12D4e)
Posted
by
Post not yet marked as solved
24 Replies
5.7k Views
Invalid Provisioning Profile. The provisioning profile included in the bundle ***.***.XX [Payload/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90161 for id 81c3cef4-fefe-468d-910c-cf7a4b5377a8 Any help? I have tried to create new provisioning profile and identifiers but still get this error when uploading app to the App Store.
Posted
by
Post not yet marked as solved
2 Replies
661 Views
I've been having this issue with X-Code for years and have never found a fix. I've seen many people post this issue but no solutions that work. When typing in X-Code, ever few letters I type the editor just hangs, sometimes the rainbow beachball spinner even comes up. Just pressing return takes a second to complete. Any ideas? There's got to be a fix for this
Posted
by
Post marked as solved
4 Replies
3.9k Views
On Beta 2, on multiple devices, my app stays for 1-2 minutes in the launch screen when the debugger is attached. This used to take a second max in beta 1. If I set a breakpoint, it stops at the end of the launch screen with the following backtrace: Thread 1#0 0x00000001018266d4 in _dyld_debugger_notification () #1 0x0000000101809918 in dyld4::lldb_image_notifier(dyld_image_mode, unsigned int, dyld_image_info const*) () #2 0x00000001017f3334 in dyld4::RuntimeState::notifyDebuggerLoad(dyld3::Array<dyld4::Loader const*> const&) () #3 0x00000001017f68c8 in dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) () #4 0x000000010180980c in start () Running from the home screen without Xcode attached is fast as always. Does anyone have an idea where I can start looking? This makes debugging very hard...
Posted
by
Post not yet marked as solved
1 Replies
1.3k Views
I own an M1 chip and unable to run azure functions locally. ENV Info: OS: macOS Big Sur (11.4), Node: v14.17.0, v12.18.4 (nvm),  azure-cli: 2.25.0, core: 2.25.0, telemetry: 1.0.6, azure-functions-core-tools: azure-functions-core-tools@3, Homebrew: 3.1.12 Error Information: Original error: Cannot find module '/opt/homebrew/Cellar/azure-functions-core-tools@3/3.0.3477/workers/node/grpc/src/node/extension_binary/node-v83-darwin-arm64-unknown/grpc_node.node' Error: Cannot find module './Worker.js' Note: I've worked around the solutions given on the following Github Issue but it didn't work for me and the same is the case if I try running my shell through Rosetta. Let me know if there's any other possible solution. Thanks.
Posted
by
Post not yet marked as solved
1 Replies
1.9k Views
Hello, I am doing a cross-platform project that uses C++ and OpenGL ( I know I should be using MoltenVK or Metal, but OpenGL is nice and simple for starting out and is cross platform). I am also doing most of my development on a M1 Macbook Pro, which supports up to OpenGL 4.1. The M1 also only supports up to 16 active fragment shader samplers ( maximum number of supported image units) I am currently working on a batch rendering system that uses an array of textures thats uploaded to the GPU and the shader can switch based off of the index into a sampler array. Heres the shader that I am using ( the vertex and fragment shaders are combined, but the program parses them separately) : #type vertex #version 410 core layout(location = 0) in vec3 a_Position; layout(location = 1) in vec4 a_Color; layout(location = 2) in vec2 a_TexCoord; layout(location = 3) in float a_TexIndex; layout(location = 4) in float a_TilingFactor; uniform mat4 u_ViewProjection; out vec4 v_Color; out vec2 v_TexCoord; out float v_TexIndex; out float v_TilingFactor; void main() { v_Color = a_Color; v_TexCoord = a_TexCoord; v_TexIndex = a_TexIndex; v_TilingFactor = a_TilingFactor; gl_Position = u_ViewProjection * vec4(a_Position, 1.0); } #type fragment #version 410 core layout(location = 0) out vec4 color; in vec4 v_Color; in vec2 v_TexCoord; in float v_TexIndex; in float v_TilingFactor; uniform sampler2D u_Textures[16]; void main() { color = texture(u_Textures[int(v_TexIndex)], v_TexCoord * v_TilingFactor) * v_Color; } However, when the program runs I get this message: UNSUPPORTED (log once): POSSIBLE ISSUE: unit 2 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable I double and triple checked my code and im binding everything correctly to the shader (if im not feel free to point it out :), and the only thing I found on the web relating to this error was saying that it was an error within the GLSL compiler on the new M1s. Is this true? Or is it a code issue? Thanks side note: I am using EMACS to run Cmake and do C++ development, so if you try and test my project on Xcode and it doesnt include the shaders its most likely a Cmake/Xcode copy issue.
Posted
by
Post marked as solved
2 Replies
1.8k Views
I don't know why, but every time I try to build, I get these "duplicate symbols for architecture x86_64" errors. They have nothing to do with my code, they're just unexplained obstacles that hinder my productivity and waste my time for no reason whatsoever... And to be honest I'm just tired of wasting my time trying to fix them. So if there's anyone out there who knows how to fix this, thanks in advance. duplicate symbol '_FBLPromiseRetryDefaultDelayInterval' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise+Retry 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise+Retry.o) duplicate symbol '_FBLWaitForPromisesWithTimeout' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise+Testing 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise+Testing.o) duplicate symbol '_OBJC_IVAR_$_FBLPromise._pendingObjects' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise.o) duplicate symbol '_OBJC_IVAR_$_FBLPromise._observers' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise.o) duplicate symbol '_OBJC_IVAR_$_FBLPromise._error' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise.o) duplicate symbol '_OBJC_IVAR_$_FBLPromise._value' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise.o) duplicate symbol '_OBJC_IVAR_$_FBLPromise._state' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise.o) duplicate symbol '_OBJC_CLASS_$_FBLPromise' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise.o) duplicate symbol '_OBJC_METACLASS_$_FBLPromise' in: /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise 2.o) /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/PromisesObjC/libPromisesObjC.a(FBLPromise.o) ld: 29 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) /Users/mike-h/Documents/dev/lbcfidelmobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Flipper-DoubleConversion' from project 'Pods') /Users/mike-h/Documents/dev/lbcfidelmobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Flipper-Glog' from project 'Pods') /Users/mike-h/Documents/dev/lbcfidelmobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'boost-for-react-native' from project 'Pods') /Users/mike-h/Documents/dev/lbcfidelmobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.4, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Flipper-PeerTalk' from project 'Pods') objc[24816]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f1a26c10) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1143082c8). One of the two will be used. Which one is undefined. objc[24816]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1f1a26c60) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x114308318). One of the two will be used. Which one is undefined. ** BUILD FAILED ** The following build commands failed: Ld /Users/mike-h/Library/Developer/Xcode/DerivedData/lbcfidelmobile-bnxskcnuyolvodbrlgoqclkwrtka/Build/Products/Debug-iphonesimulator/lbcfidelmobile.app/lbcfidelmobile normal (1 failure) info Run CLI with --verbose flag for more details. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. The terminal process "zsh '-c', 'yarn run ios'" terminated with exit code: 1.
Posted
by
Post not yet marked as solved
0 Replies
284 Views
Guideline 2.1 - Performance - App Completeness We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue. Review device details: Device type: iPhone OS version: iOS 14.6 Next Steps To address the crash in your app, follow these steps: Fully symbolicate the crash report. See Adding Identifiable Symbol Names to a Crash Report for an explanation of the symbolication process. Match the crash report to a common pattern. Based on the pattern, take specific actions to further investigate the crash. See Identifying the Cause of Common Crashes. Test your app on a device to ensure that it now runs as expected. Once you’ve addressed the crash, create and submit a new build to the App Store for review. This is the I got this Message so i cannot get crashes when debugging and running app but also i want help to get fixed this..
Post not yet marked as solved
0 Replies
358 Views
I am developing an app with xamarin. And i cant get the iOS app to open via a link in safari or in email. Can someone tell me what i am possibly doing wrong? I get the error message: Filter in the devicelog on 'swcd' gives me the following error: Time Device Name Type PID Tag Message Jul 26 16:26:00 iPad-van-Nick Error 233 swcd Error getting enterprise-managed associated domains data. If this device is not enterprise-managed, this is normal: Error Domain=SWCErrorDomain Code=1701 "Failed to get associated domain data from ManagedConfiguration framework." UserInfo={NSDebugDescription=Failed to get associated domain data from ManagedConfiguration framework., Line=298, Function=<private>} I am using: Visual studio 2019 (updated) on windows I have enabled auto provisioning Renting a mac via macincloud for compiling the sources (bigSur) Testing on a iPad what the latest iOS14 Using sdk 14.5 In the Entitlements.plist I've added: <?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>keychain-access-groups</key> <array> <string>$(AppIdentifierPrefix)com.redacted.redacted</string> </array> <key>com.apple.developer.networking.wifi-info</key> <true/> <key>com.apple.developer.associated-domains</key> <array> <string>applinks:mydomain.nl</string> <string>applinks:*.mydomain.nl</string> </array> </dict> </plist> Also for the associated domains I've tried to specify only the subdomain i want to use. Where mydomain is a valid domain of course. I have tried ?mode=developer, but my domain is publicly accessible so this should not be needed. Also i can't put my iPad to developer mode, because i am on windows. On the websever I've added a .well-know folder with the apple-app-site-association with the following: (Also had the file in the root folder, or both) { "applinks": { "apps": [], "details": [{ "appID": "redacted.com.redacted.redacted", "components": [ { "/": "/verify_email/*", "comment": "Matches any URL whose path starts with /verify_email/" } ], "paths": [ "/verify_email/*" ] }] } } (I've tried different variants for the file, with components, with paths, both in the same file) "components" for iOS 14 and up "paths" for devices prior to iOS 14 The https://branch.io/resources/aasa-validator/ validates all successfully: Your domain is valid (valid DNS). Your file is served over HTTPS. Your server does not return error status codes greater than 400. Your file's 'content-type' header was found :) Your JSON is validated. If i validate my domain via: https://search.developer.apple.com/appsearch-validation-tool Then i get this message: Link to Application Action required Could not extract required information for application links. Learn how to implement the recommended Universal Links. Error no apps associated with url I think this is because the app is not yet in the appstore and being developed? Also when i look at the identifiers details page for my app I see 'associated domains' enabled. I have the feeling that i am missing something. Enabling 'URL types' works like a charm. But i don't like to use urls like myapp://mydomain.nl/verify_email/abcd Thanks in advance! Nick
Posted
by
Post not yet marked as solved
0 Replies
343 Views
The app is developed with React Native and always shows the warning on start up. It does not matter, if the app have been built for an iOS simulator or a physical device via XCode 12.4. I have included all the necessary information in the property file (info.plist) of the iOS directory but the warning still appears. The only similar issue I have found was related to the react-native-version-check. My current guess is that the development build does not use the same information as the release build. The top of the stack trace is shown below and is nearly identical for every entry, except for the number at the end.
Posted
by
Post not yet marked as solved
1 Replies
538 Views
I am using "Excluded Source File Names" in Xcode build settings to remove a folder from IPA. The given relative path is correct but for some reason, the folder that needs to be excluded is still exists in the .app file. Any idea why Excluded Source File Names is not working. The folder that I am trying to remove is listed under "Copy Bundle Resources" Here is the path "$(SRCROOT)/../foldera/folderb/foldertoberemoved"
Post not yet marked as solved
6 Replies
1.6k Views
Hi everyone, I'm struggling to access a certificate stored in keychain when using LaunchDaemons and would appreciate any advise to improve over my current workaround with an agent. I'm maintaining an M1-based Mac Mini with macOS Big Sur 11.4 as a build client for Gitlab CI. The machine makes itself known to the orchestrating Gitlab server through the so-called gitlab-runner process which regularly polls the Giltab server for build job requests. It would then eventually call xcodebuild to generate artifacts and upload them to Gitlab. In order to have this process startup automatically, I've loaded it through a /Library/LaunchDaemons/gitlab-runner.plist file in launchctl. This setup has been working greatly for months, making the build client immediately available after a reboot without the need to log into it. I've now started to deploy codesign tasks to the build client and encountered issues with keychain access to the certificate. I installed the certificate and performed security find-identity -v -p codesigning in the Terminal to validate correct installation. I have ensured that the codesign tasks succeed when performed through Terminal manually. A popup was shown on first try about codesign wanting to access to the local keychain, which I always allowed. Codesign then reported success: signed Mach-O universal. The behavior is different for my LaunchDaemons-based codesign tasks (spawned under the same user). I've tried multiple permutations for sudo launchctl load -w /Library/LaunchDaemons/gitlab-runner.plist: SessionCreate=true, local keychain: FAIL (errSecInternalComponent) SessionCreate=true, System keychain: FAIL (errSecInternalComponent) SessionCreate=false, local keychain: FAIL (error: The specified item could not be found in the keychain.) SessionCreate=false, System keychain: FAIL (errSecInternalComponent) I've then tried a user agent launchctl load -w ~/Library/LaunchAgents/gitlab-runner.plist: SessionCreate=true, local keychain: FAIL (errSecInternalComponent) SessionCreate=false, local keychain: OK (Popup -> Always allow, signed Mach-O universal) So apparently, the last variant works reliably. However, it has the severe downside that I now need to log in the user after a reboot in order to kick off the agent. Is there a way to make this work with /Library/LaunchDaemons, possibly through some plist property? As a test I've tried to "Allow all applications" to access the private key associated with the Certificate but that didn't change anything. Best regards Maik
Posted
by