Post not yet marked as solved
Hi,I am posting this in the hopes that it may save someone with a similar problem some time.A build was failing with the following error:Code Signing Error: Provisioning profile "FooBar" doesn't include signing certificate "iPhone Developer: foo bar (xxxxxxxxxxx)".The build was done on the command line with:xcodebuild OTHER_CODE_SIGN_FLAGS='--keychain /Users/me/Library/Keychains/Buildsystem' (and other parameters)Before each build we create the Buildsystem keychain and import the certificates needed fo the build into it. The keychain is then removed after the build.I could do the build locally and it would work, it was only on our build machine under jenkins that it failed.After spending a lot of time on this I found the cause was that there was another certificate in the builds machine's login keychain that was being used for the code signing even though we had provided a keychain with the correct certificate and told the codsigning to use it. After deleting the bad certificate from teh login keychain everything worked.So it looks like the -keychain has no effect or that codesigning searched the login keychain before the specified one.Is there anyway to change this behavior? The idea of using a special keychain for the build process was to avoid things like this.
Post not yet marked as solved
After updating the apple watch it no longer connects to the contacts of the synced iPhone XSmax. When I ask Siri to call a person I allways get the following respone: "I do not see the person in your contacts".Doing the same Siri command on the iPhone works flawless. Rebooted both devices many times.Anyone an idea to resolve the issue?Has anyone similar problems?
Since upgrading to Xcode 9.3 I can not export my archive because it reports:Profile doesn't match the entitlements file's value for the application-identifier entitlement.If I look in the embedded.mobileprovision file for etension I see that the application-identifier in the entitelments is for the host app and not the extension.I am building the app using xcodebuild:xcodebuild -verbose clean archive -project projects/IOSExtDummy/IOSExtDummy.xcodeproj -scheme IOSExtDummy -configuration Release -archivePath bin/plugins.xcarchive HEADERMAP_INCLUDES_PROJECT_HEADERS=NO USE_HEADERMAP=NO PROVISIONING_PROFILE_SPECIFIER=FooBar_dev CODE_SIGN_IDENTITY="iPhone Developer" CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=W4Zxxxxx PRODUCT_BUNDLE_IDENTIFIER=com.foo.bar If I build it with the Xcode GUI it is OK.Can anybody shed some light on this? I have already spent a long day trying to sort this out.
Post not yet marked as solved
Hi,I have an app with a Finder Sync extension. I can tell from my logs that there seems to be a problem when the finder allocates a new instance of my extension and then frees the previously allocated instance.My problem is that I can not reproduce this locally, it only happens on a customer machine.Does anybody know what may trigger the finder to allocate a new instance of the FIFinderSync object?Note: I am not talking about the finder starting a new instance of my finder ext plugin.The finder is allocating a second instance of my FIFinderSync from an already running finder ext plugin.What the customer sees when this happens is that the badges are no longer displayed but the context menus are still there.
Post not yet marked as solved
I am building an IOS app for another company.I was using xcode 7 and was able to use xcodebuild to build an unsigned archive which I was able to give to the customer who would then use it to generate their app signed with their own id.It seems that with xcode 9 I now need to sign the archive. I think I could still do this with wild card developer id but the problem is that the app has group entitlements which are not allowed in wildcard ids.I do not want to have to have customers provide me with their codesigning certificates and provisioning files.This is the command line I use to use as part of a script run by Jenkins:xcodebuild archive -project <my_project> -scheme <my_sheme> -configuration Release -archivePath <my_archive_path> OTHER_CODE_SIGN_FLAGS='--keychain /Users/me/Library/Keychains/Buildsystem' CODE_SIGN_ENTITLEMENTS=/Users/me/entitlements.plist CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO HEADERMAP_INCLUDES_PROJECT_HEADERS=NO USE_HEADERMAP=NOThe provisioning file I was using was a developers wild card provisioning file. If I do the following:xcodebuild archive -project <my_project> -scheme <my_sheme> -configuration Release -archivePath <my_archive_path> OTHER_CODE_SIGN_FLAGS='--keychain /Users/me/Library/Keychains/Buildsystem' CODE_SIGN_ENTITLEMENTS=/Users/me/entitlements.plist CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=<My_dev_id> CODE_SIGN_IDENTITY="iPhone Developer" HEADERMAP_INCLUDES_PROJECT_HEADERS=NO USE_HEADERMAP=NOI will get an error:Check dependencies
Code Signing Error: Provisioning profile "Developer" doesn't include the com.apple.security.application-groups entitlement.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'Is there a way to build an archive for a customer with out having to have them supply me with their provisioning file and codesigning credentials?
Post not yet marked as solved
My app would like to know when another app has made changes in its documents folder.Is there anyway to do this other then doing a complete scan of the folder?There may be thousands of files so doing a full scan every time the app was brought into the foreground would be painfull.
Post not yet marked as solved
Is there a way that the host app for a file share extension can dynamicaly enable or disable its file share extension on IOS?
I created a code level support request over a month ago and have not heard anything back about it. I am wondering if I missed an email or something. I had thought that the page listing my cases would have a link showing the history of my request including the original request info but all I see is a list containing 2 items:Case ID: 673523773 CREDITRequested by: <email>Created: September 19, 2017Case ID: 673523773 USERequested by: <email>Created: September 18, 2017How do you get more details on your case id?What does 'Credit' and 'Use' mean here?Is there some documetation some where explaining this?
Post not yet marked as solved
Hi,I have an app that really needs to be able to run in the background but it doesn't fall into any of the classes of apps that are allowed to run in the background.The app is a sync and share app that provides file access to cloud storage with end to end data encryption. There are 2 main reasons why it needs to be able to run in the background:1) There are times when the user may initiate some action that requires a significant amount of time to complete. For example if they wanted to upload several movies the data would first need to be encrypted and then uploaded. The problem is that after initiating the process the user will often switch to some other app and do something else expecting the process to continue, but because the app cannot run in the background, when they return to my app they find that the upload progress has not advanced. This leads to a very unsatisfying user experience since from the user's perspective it can appear that the upload will take days to complete.2) Providing a File Provider extension for my app so that users can access the files via the File App is not feasible. Inorder to save files back the File Provider extension would need to pass the file to my app which only works if it is running in the background. The File Provider app cannot do the processing itself because it doesn't have access to metadata needed to perform the encryption.This is a pity because I think users would be interested in a cloud storage solution that provided end to end encryption.So my question is: Is it possible to get an exception to the rules regarding background execution that would allow my app to run in the background as if it were playing music for example?The app's energy usage is negligible when there is nothing for it to do.
Post not yet marked as solved
Since I upgraded to 10.13 the Apple Mail App Version 11.0 (3441.0.1) creates constant propblems. It did not get any better with Beta 4.I have a big IMAP account (50.000 mails). After starting the app, it sync my mails and I see the new mails, so far o.k.. But:The mail App thereafter stops communication with that large IMAP account. It does not retrieve new mails, it does not delete mails and does not send Mails. I have to quit and restart the Mail App to send my mails from the que and to receive new mails.