Code Signing

RSS for tag

Certify that an app was created by you using Code signing, a macOS security technology.

Code Signing Documentation

Pinned Posts

Posts under Code Signing tag

260 Posts
Sort by:
Post not yet marked as solved
7 Replies
2.2k Views
Hello! I need to load dylib signed by another developer (using dlopen). For that, I added following entitlement to hardened runtime: com.apple.security.cs.disable-library-validation However, after adding this entitlement, the app fails to start, generating a crash report indicating codesigning fail. This happens even without any code for loading the library in the app. I tried it in a blank project, and it worked just fine. The app also has Endpoint security entitlement (in provisioning profile), so I am suspecting that might be the cause, however, I was not able to find anything about this in the documentation. Thank you for any help.
Posted
by
Post not yet marked as solved
3 Replies
7.9k Views
I have a individual team with my dev account. I have recently got an invite for another team. I accepted the invite and now I need to sign the application and upload for that team. The new team however is not showing up in Xcode as an option and only shows my individual team. How do I get the new team added as an option within Xcode?
Posted
by
Post not yet marked as solved
24 Replies
7.9k Views
Hello everyone, I'm trying to create an App Clip for my existing app (it's a multiplatform app). Now Xcode can't sign my app, and the following error appears: Provisioning profile "iOS Team Provisioning Profile: xx" doesn't match the entitlements file's value for the com.apple.developer.associated-appclip-app-identifiers entitlement. If I don't add that row in my project's entitlement then I can sign my app but I can't upload it to App Store Connect, telling me that the value is missing. I've tried to delete the saved profiles in my Mac and force Xcode to download them again. I started thinking about if you can create an App Clip for a multiplatform project or even if it's a bug in Xcode 12.5 beta 3. Does anyone experienced the same or have some suggestion to try? Thank you! Aniol
Posted
by
Post not yet marked as solved
2 Replies
1.7k Views
I'm trying to debug my iOS app which designed only for iPhone on a M1 mac. But I got the error about signing. Xcode automatic signing failed with the note below: "Xcode failed to provision this target. Please file a bug report at https://feedbackXx and include the Update Signing report from the Report navigator." "Provisioning profile "iOS Team Provisioning Profile: com.XX" doesn't include the currently selected device "XX的MacBook Pro" (identifier XX)." How can I fixe it?
Posted
by
Post not yet marked as solved
0 Replies
529 Views
Recently I've started to work with Xcode server and Xcode bot. I'm just using Xcode 12.3, no OS X server application. I've configured bot correctly which generates IPA file of my iOS application. But when I try to install that IPA with https://my-macbook-air.local/xcode It always shows me error in iOS 14+ device. I've downloaded and installed profile and manually trust certificate from Settings. But no luck on iOS 14+. Even thought same IPA is being installed in iOS 13.3 device. I read somewhere that iOS 14 uses TLS 1.3 by default for all SSL certificates, is that related to my problem? Does my Xcode server's self signed SSL is not supporting TLS 1.3? How can I solve this problem?
Posted
by
Post not yet marked as solved
3 Replies
3.4k Views
Hi, I've built everything natively for arm64, the M1 doesnt have Rosetta 2 installed. The app runs fine when started from the terminal. I am packaging the .app exactly the same way as for x86_64 but it refuses to launch on an M1 mac. I see "You do not have permission to open the application 'APPNAME'" when trying to open the app. I've tried when both codesigned and not codesigned (both work on x86 dev machine). In Console.app I see: LAUNCH: Runningboard launch of com.mydomain.myapp private returned RBSRequestErrorFailed, error Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x600007803450 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed with error: 111}}}, so returning -10826 The app launches using shell scripts, I've tried to modify the plist to launch the executable directly to see whether it was the issue, but it didnt change anything. The way its starting makes me think it doesnt even try to launch the executable and that its failing right away when looking at something in the package, but I have no idea what it could be. I've been at this for hours, any help would be appreciated. Cheers
Posted
by
Post not yet marked as solved
4 Replies
7.1k Views
I upgraded Xcode to 12.5 and iPhone to 14.5 yesterday. It works fine on iOS 14.5 simulator and my old version device. But It shows Unable to install "AppName" when I want to run it on my iOS 14.5 iPhone. The detail said The code signature version is no longer supported. I tried cleaning build folder, restarting Xcode and phone, still didn't work. Any ideas?
Posted
by
Post not yet marked as solved
23 Replies
26k Views
After upgrading to Xcode 12.5 and iOS 14.5, I can no longer debug my app on my local physical device. I get the below error. I searched and cannot find any answers. How do I fixed this? Details Unable to install "MyApp" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620375- The code signature version is no longer supported. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620375 User Info: {   DVTRadarComponentKey = 261622;   MobileDeviceErrorCode = "(0xE8008029)";   "com.apple.dtdevicekit.stacktrace" = ( 0  DTDeviceKitBase           0x000000011edd83b8 DTDKCreateNSErrorFromAMDErrorCode + 220 1  DTDeviceKitBase           0x000000011ee16ae1 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155 2  DVTFoundation            0x0000000107881b7c DVTInvokeWithStrongOwnership + 71 3  DTDeviceKitBase           0x000000011ee16822 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440 4  IDEiOSSupportCore          0x000000011eccf999 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.294 + 3534 5  DVTFoundation            0x00000001079b4931 __DVT_CALLING_CLIENT_BLOCK__ + 7 6  DVTFoundation            0x00000001079b655b __DVTDispatchAsync_block_invoke + 1191 7  libdispatch.dylib          0x00007fff20508603 _dispatch_call_block_and_release + 12 8  libdispatch.dylib          0x00007fff205097e6 _dispatch_client_callout + 8 9  libdispatch.dylib          0x00007fff2050f5ca _dispatch_lane_serial_drain + 606 10 libdispatch.dylib          0x00007fff2051008d _dispatch_lane_invoke + 366 11 libdispatch.dylib          0x00007fff20519bed _dispatch_workloop_worker_thread + 811 12 libsystem_pthread.dylib       0x00007fff206b04c0 _pthread_wqthread + 314 13 libsystem_pthread.dylib       0x00007fff206af493 start_wqthread + 15 ); }- System Information macOS Version 11.3 (Build 20E232) Xcode 12.5 (18205) (Build 12E262) Timestamp: 2021-04-29T22:41:18-04:00
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 marked as solved
7 Replies
1.1k Views
Hello I am writing an application for MacOs. I am trying to upload application to the app store. Application include a GUI ( written in swiftUI ) , 2 binary executable files ( written in c++) and multiple dylibs and frameworks. We enable sandbox for xcode project (GUI). Our app perfectly run in local system with no signing. But when I sign app, application not running. language Date/Time: 2021-05-12 20:51:28.939 +0430 OS Version: Mac OS X 10.15.3 (19D76) Report Version: 12 Anonymous UUID: 834384F2-5954-0185-35C5-B2AF77021892 Sleep/Wake UUID: 00BA8D61-4945-41C9-9DA4-96417724397B Time Awake Since Boot: 110000 seconds System Integrity Protection: enabled Crashed Thread: 0 Exception Type: EXC_CRASH (Code Signature Invalid) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace CODESIGNING, Code 0x1 kernel messages: VM Regions Near 0 (cr2):- __TEXT 0000000103003000-00000001034a1000 [ 4728K] r-x/r-x SM=COW Thread 0 Crashed: 0 0x000000010f314000 _dyld_start + 0 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffeecbfcba8 r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 rip: 0x000000010f314000 rfl: 0x0000000000000200 cr2: 0x0000000000000000 Logical CPU: 0 Error Code: 0x00000000 Trap Number: 0 And when I archive the app for uploading to app store, it is failing Archive validation for the app store with the message "App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list". One of binary executable compiled with "Unix makefile" compiler, and other one with xcode. I tried to enable sandbox for binary executable in xcode. But didn't work after I enabled sandbox. error when runs in terminal: language zsh: illegal hardware instruction error when runs in xcode: language libsystem_secinit.dylib`_libsecinit_appsandbox.cold.5: 0x7fff70e300e8 +0: pushq %rbp 0x7fff70e300e9 +1: movq %rsp, %rbp 0x7fff70e300ec +4: pushq %r14 0x7fff70e300ee +6: pushq %rbx 0x7fff70e300ef +7: movq %rdx, %r14 0x7fff70e300f2 +10: movq %rsi, %r9 0x7fff70e300f5 +13: movq %rdi, %rbx 0x7fff70e300f8 +16: leaq 0xc41(%rip), %r8 ; "%s" 0x7fff70e300ff +23: movl $0x800, %esi ; imm = 0x800 0x7fff70e30104 +28: movl $0x800, %ecx ; imm = 0x800 0x7fff70e30109 +33: movl $0x0, %edx 0x7fff70e3010e +38: xorl %eax, %eax 0x7fff70e30110 +40: callq 0x7fff70e30396 ; symbol stub for: __snprintf_chk 0x7fff70e30115 +45: movq %r14, 0x29c169d4(%rip) ; gCRAnnotations + 16 0x7fff70e3011c +52: movq %rbx, 0x29c169c5(%rip) ; gCRAnnotations + 8 0x7fff70e30123 +59: ud2 Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) As I understand, sandbox isn't compatible with binary executable files and it is for applications. Question 1. What is the best signing options for MacOs paid application with in-app purchase? Question 2. What are possible scenarios for getting these errors? Question 3. Am I missed some other options? Question 4. Do I need to enable sandbox for binary executable files? Question 5. How could I manage to upload the app to the app store? Thanks in advance
Posted
by
Post not yet marked as solved
0 Replies
1.6k Views
IMPORTANT This post is now retired in favour of a version in the official documentation, namely Embedding a Command-Line Tool in a Sandboxed App. I’m going to leave the original post here just for the record, but you should consider the official version authoritative. I regularly help developers — both here on DevForums and as part of my Day Job™ in DTS — who have a sandboxed app, built with Xcode, and want to embed a helper tool within that app. For example: They have some of their own code that they want to run in a separate process. In many cases an XPC Service is a better choice for this, but sometimes it’s just easier to embed a command-line tool. They have a command-line tool that was built by an external build system (makefiles and so on). Doing this is a bit tricky, so I thought I’d write down the process for the benefit of all. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com" Embedding a Command-Line Tool in a Sandboxed App Using Xcode to emded a command-line tool in a sandboxed app is a little tricky. The exact process you use depends whether you want to build the tool using Xcode or you have an existing tool that was built by an external build system. I’ll cover each scenario in turn. Note This post focuses on building an app for the App Store because that’s where most sandboxed apps are destined. However, the same basic process works for Developer ID; you just need to choose a different distribution path in the Organizer. The post assumes Xcode 12.5 running on macOS 11.3. Embed a Tool Built With Xcode This section describes how to use Xcode to create a sandboxed app and then embed a helper tool, also built with Xcode, into that app. Create an App Project To get started, first create a new project from the macOS > App template. In this example I named it Test768613894, resulting in a bundle ID of com.example.apple-samplecode.Test768613894. In the project editor, set the deployment target to 10.15. This isn’t strictly necessary but I’ll use it to show how to configure the app and its embedded helper tools to use the same deployment target. In the General tab of the app target editor, set the App Category to Utilities. This avoids a warning when you try to submit to the store. In the Signing & Capabilities tab of the app target editor, make sure that “Automatically manage signing” is checked and then select the appropriate team. The Signing Certificate popup will switch to Development, which is exactly what you want for day-to-day development. Add the Hardened Runtime capability. This isn’t necessary for App Store submission but it’s a good idea to use it on all new projects. Choose Product > Archive. This builds the app into an Xcode archive and reveals that archive in the Organizer. The goal here is to simply check that everything is working so far. In the Organizer, delete the new archive, just to reset things back to the original state. Create the Helper Tool With the app target in the project building correctly, it’s time to create a helper tool target so that you can embed its product into the app. To start, create a new target from the macOS > Command Line Tool template. I named this ToolX, where the X stands for built with Xcode. In the General tab of the tool target editor, clear the Deployment Target field. The tool will now inherit its deployment target (macOS 10.15) from the project. In the Signing & Capabilities tab of the tool target editor, make sure that “Automatically manage signing” is checked and then select the appropriate team. Again, the Signing Certificate popup will switch to Development. Fill in the Bundle Identifier field. As my app’s bundle ID is com.example.apple-samplecode.Test768613894 I set this to com.example.apple-samplecode.Test768613894.ToolX. Bundle IDs generally don’t play a big part in command-line tools but it’s necessary in this case because of the way that I set up the code signing identifier (see below). Add the App Sandbox and Hardened Runtime capabilities. Again, the Hardened Runtime isn’t required but it’s good to start as you mean to go on. In the Build Settings tab, set the Skip Install (SKIP_INSTALL) build setting to true. Without this Xcode copies the tool into the ‘root’ of your Xcode archive, which causes grief later on. Also set Code Signing Inject Base Entitlements (CODE_SIGN_INJECT_BASE_ENTITLEMENTS) to false. If you leave this set then Xcode will include the get-task-allow entitlement in development builds of your tool, but this entitlement is incompatible with the com.apple.security.inherit entitlement. IMPORTANT This means that you won’t be able to debug your tool. If you need to do this, create a new target for the tool, one that’s not sandboxed at all. Be warned, however, that this target may behave differently from the embedded tool target because it’s not running under the sandbox. Finally, set Other Code Signing Flags (OTHER_CODE_SIGN_FLAGS) to $(inherited) -i $(PRODUCT_BUNDLE_IDENTIFIER). This ensures that the tool’s code signing identifier matches its bundle ID, a matter of best practice. Select ToolX.entitlements in the Project navigator and added com.apple.security.inherit to it, with a Boolean value of true. Select the ToolX scheme and chose Product > Build, just to make sure that it builds correctly. Now switch back to the app (Test768613894) scheme. Embed the Helper Tool In the Build Phases tab of the app target editor, add the ToolX target to the Dependencies build phase. This ensures that Xcode builds the tool before building the app. Add a new Copy Files build phase. Named this Embed Helper Tools (the exact name doesn’t matter but it’s best to pick a descriptive one) and set the Destination popup to Executables. Note This will place the helper tool in your app’s Contents/MacOS directory, the location recommended by Placing Content in a Bundle. Add the ToolX executable to that build phase, making sure that Code Sign On Copy is checked. Build and Validate With the project now set up it’s time to test that everything builds correctly. To start, do another Product > Archive. This will build the tool target and then the app target, embedding the former within the latter. In the Organiser, select the newly-created archive and click Distribute App. Note If the button says Distribute Content rather than Distribute App, go back and check that you set the Skip Install build setting on the tool target. Select App Store Connect, clicked Next, then Export and clicked Next. Go through the rest of the export workflow. The end result is a directory with a name like Test768613894 2021-05-17 14-07-21. In that directory is an installer package. Unpack that. Note I used Pacifist for this but, if you don’t have that app, and you should!, see Unpacking Apple Archives. Run the following commands to validate that Xcode constructed everything correctly. % codesign -d -vvv --entitlements :- Test768613894.app … Identifier=com.example.apple-samplecode.Test768613894 Format=app bundle with Mach-O universal (x86_64 arm64) CodeDirectory v=20500 size=822 flags=0x10000(runtime) hashes=14+7 location=embedded … Authority=Apple Distribution: Quinn Quinn (SKMME9E2Y8) … TeamIdentifier=SKMME9E2Y8 … <dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.files.user-selected.read-only</key> <true/> </dict> </plist> % codesign -d -vvv --entitlements :- Test768613894.app/Contents/MacOS/ToolX … Identifier=com.example.apple-samplecode.Test768613894.ToolX Format=Mach-O universal (x86_64 arm64) CodeDirectory v=20500 size=796 flags=0x10000(runtime) hashes=13+7 location=embedded … Authority=Apple Distribution: Quinn Quinn (SKMME9E2Y8) … TeamIdentifier=SKMME9E2Y8 … <dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.inherit</key> <true/> </dict> </plist> I want to highlight some things in this output: The Identifier field is the code signing identifier. The Format field shows that both executables are universal. The runtime flag, in the CodeDirectory field, shows that the hardened runtime is enabled. The Authority field shows that the code was signed by my Apple Distribution signing identity, which is what you’d expect for an App Store submission. The TeamIdentifier is… well… the Team ID. The app’s entitlements include com.apple.security.app-sandbox and whatever other entitlements are appropriate for this app. The tool’s entitlements include just com.apple.security.app-sandbox and com.apple.security.inherit. IMPORTANT Any other entitlements here can cause problems. If you find that, when your app runs the tool, it immediately crashes with a code signing error, check that the tool is signed with just these two entitlements. Embedding an Externally-Built Tool With the app and Xcode-built helper tool working correctly, it’s time to repeat the process for a tool built using an external build system. In this example we’ll create a dummy helper tool from the command line and then embed that in the Test768613894 app. Build the Tool Create a new directory and change into it: % mkdir ToolC % cd ToolC Here C stands for built with Clang. Create a source file in that directory that looks like this: % cat main.c #include <stdio.h> int main(int argc, char ** argv) { printf("Hello Cruel World!\n"); return 0; } Build that with clang twice, once for each architecture, and then lipo them together: % clang -o ToolC-x86_64 -mmacosx-version-min=10.15 -arch x86_64 main.c % clang -o ToolC-arm64 -mmacosx-version-min=10.15 -arch arm64 main.c % lipo ToolC-x86_64 ToolC-arm64 -create -output ToolC The -mmacosx-version-min option sets the deployment target to match the Test768613894 app. Create an entitlements file for the tool: % cat ToolC.entitlements <?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>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.inherit</key> <true/> </dict> </plist> Sign the tool as shown below: % codesign -s - -i com.example.apple-samplecode.Test768613894.ToolC -o runtime --entitlements ToolC.entitlements -f ToolC This breaks down as follows: The -s - argument applies an ad-hoc signature (in Xcode parlance this is Sign to Run Locally). More on this below. The -i com.example.apple-samplecode.Test768613894.ToolC option sets the code signing identifier. The -o runtime option enables the hardened runtime. Again, this isn’t necessary for App Store distribution but it’s a good idea in general. The --entitlements ToolC.entitlements option supplies the signature’s entitlements. The -f option overrides any existing signature. This isn’t strictly necessary but it avoids any confusion about the existing ad-hoc signature applied by the linker to the arm64 architecture. IMPORTANT Setting up the code signature here is critical. It sets up a ‘pattern’ that Xcode uses when it re-signs the tool while embedding it into the final app. The only thing that doesn’t matter here is the signing identity. Xcode will override that with the project’s signing identity during this embedding process. That’s why we can get away with an ad-hoc signature. Add the ToolC executable to your Test768613894 project. When you do this: Enable “Copy items if needed”. Select “Create groups” rather than “Create folder reference.” Uncheck all the boxes in the “Add to targets” list. In the Build Phases tab of the app target editor, add ToolC to the build phase, making sure that Code Sign On Copy is checked. Validate To validate your work, follow the same process as described in the Build and Validate section, substituting ToolC for ToolX everywhere. Change History 17 May 2021 — First posted. 21 Oct 2021 — Updated the Embed the Helper Tool section to reference the new Placing Content in a Bundle article. 10 Nov 2021 — Added a retirement notice.
Posted
by
Post marked as solved
2 Replies
711 Views
Hello, Our Production packages and executables were signed with a Developer ID installer and application certificates, that have expired yesterday. These packages were notarised but not stapled. After the certificate is expired, will the users be able to download and install the packages that were signed those certificates. (In our quick test we are able to download and install these packages but will they continue to work )
Posted
by
Post marked as solved
8 Replies
3.0k Views
I am trying to install an app which I am developing for testing on an iOS device. I get to the point where I need to sign, where I need to select a developer team to continue. I am doing this under "Signing &amp;amp; Capabilities" in Xcode 12.5. Using "Automatically manage signing": The "Team" field offers a drop-down menu which defaults to "None". Using the options from the drop-down menu i can pick the team I wish to use for signing, but on selecting the item from the list the choise keeps reverting back to "None", not allowing me to pick a team at all. Not using "Automatically manage signing": The "Team" field is now static text, I can not change it from "None". Completing all the other fields leaves me with an error saying: "Signing for 'Runner' requires a development team. Select a development team in the Signing &amp;amp; Capabilities editor that matches the selected profile 'Provisioning Profile'." How do I select a team for signing an iOS app for debugging?
Posted
by
Post not yet marked as solved
5 Replies
2.0k Views
I am using Xcode 12.5 and automatic signing. I can build release locally but cannot build debug to run on my device. Code Signing Error: "Unity-iPhone" requires a provisioning profile with the In-App Purchase, Game Center, and Push Notifications features. Select a provisioning profile in the Signing & Capabilities editor. Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 14.5' Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 14.5' I have checked everything several times. My provisioning profile includes those capabilities. I have revoked and created my certificates and provisioning profiles in Xcode. I even went as far as so configure APNs with SSL certificates but I still keep getting the same error. I have tried manual code signing, and checked my build settings. Identity, team, profile settings all seem to be correct. I have also tried manual code signing and again everything looks correct my build settings. Same error no matter what I do. Really at a loss here.
Posted
by
Post not yet marked as solved
65 Replies
42k Views
After updating the os, not able to install the enterprise app through ipa, it throws error unable to install the app. Also not able to launch the enterprise app which was present in the device before updating the OS iOS 15 beta, it throws error, the developer of this app needs to update it to work with this version of iOS Kindly update on this. Any app side changes has to be done for this to fix these issues ?
Posted
by
Post not yet marked as solved
5 Replies
1.3k Views
I have been having problems signing an app with jpackage. I am confused and I'm not sure if it's because I don't have the correct certificate from Apple. Or I am doing something wrong when I pass the signature to apple. I find Apple certificates very confusing. And I think I have made several unnecessary certificates while trying to figure this out. What I think is the problem is Jpackager seems to want the certificate to be of type: "Developer ID Application" and I seem to be only able to create "Apple Development" or "Mac Development" signatures. My role on my team ris a "developer" and I am wondering if I need my boss to create the correct certificate? I have been googling like crazy and am not even sure if I understand what values are needed. For "signing-prefix" or "key-user-name" `--mac-bundle-signing-prefix --mac-sign --mac-signing-keychain --mac-signing-key-user-name ` I have used the following and Keychain Access to view my codesign values: security find-identity -v -p codesigning P.S. My program uses Swing and needs to run on MacOS, Windows 10 and linux which is why I use Java in the first place.
Posted
by
Post not yet marked as solved
6 Replies
1.1k Views
I have some issues linking some frameworks when I run my iOS application. The issue comes as code signing version is not supported. I use Carthage for the dependency management. It links the framework then has the copy-framework script where it copies to the framework and does the code signing. For code signing it does the same thing codesign --force --sign ****** --preserve-metadata=identifier,entitlements path_to_framework The CodeDirectory for some frameworks after signing is 20200 and for others 20400. Obviously 20200 is not supported anymore hence the issue, although I don’t under why does it assign an old version number to it when it's been signed the same way in Big Sur. I have Xcode 12.3 and using Big Sur 11.4. Framework where it’s not working: Executable=********/Frameworks/FirebaseCore.framework/FirebaseCore Identifier=com.firebase.Firebase-FirebaseCore Format=bundle with generic CodeDirectory v=20200 size=226 flags=0x0(none) hashes=1+3 location=embedded Signature size=4886 Signed Time=18 Jun 2021 at 16:15:27 Info.plist entries=7 TeamIdentifier=******** Sealed Resources version=2 rules=10 files=1 Internal requirements count=1 size=196 Framework where the code signing works properly: Executable=********/Frameworks/RxSwift.framework/RxSwift Identifier=io.rx.RxSwift Format=bundle with Mach-O universal (arm64) CodeDirectory v=20400 size=74833 flags=0x0(none) hashes=2332+3 location=embedded Signature size=4886 Signed Time=18 Jun 2021 at 16:16:07 Info.plist entries=21 TeamIdentifier=******** Sealed Resources version=2 rules=10 files=0 Internal requirements count=1 size=176 Any idea what the issue can be?
Posted
by
Post not yet marked as solved
1 Replies
466 Views
In Xcode, i have this issue where it is telling me to revoke a certificate because the account already has a signing certificate but it is not present in my keychain. And that to create a new one, i need to revoke the existing one. I went to the developer portal and tried and revoked all the certificates and tried again. No avail. I can revoke it once, but if i go to a new target and do the same (as it is asking me to) the other one needs revoking again. I do not have a clue what to do.
Posted
by
Post not yet marked as solved
2 Replies
2k Views
I am trying to compile Xcode project on an online platform Bitrise. I am facing issue with sign in and provisioning .. after trying 4-5 days I am approaching you. Please solve this. ❌ error: No profiles for 'my app bundle id' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'my app bundle id'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'myapp-Development' from project 'myapp') How to enable this "allowProvisioningUpdates" also why it is too difficult to do such processes with apple development.. I tried for android and it compiled successfully in a single attempt. please help.
Posted
by
Post not yet marked as solved
9 Replies
11k Views
Whenever I'm trying to open Eclipse or SpringToolSuite 4 I'm getting the same permission related issues It was working fine a day before yesterday but now It's showing weird stuff. You do not have permission to open the application “SpringToolSuite4”. You do not have permission to open the application “Eclipse”. If anyone has any solutions please share
Posted
by