iOS8 - failed install project including widget extention on under version of os device - ios7

I have tried to install iphone project including widget extention on OS7 device... but it's failed.
If I install on OS8 device, it's fine.
Error message shows
The executable was signed with invalid entitlements.
The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016).
Do you have any advice? Thanks in advance.

Related

Is It Possible to Build and Distribute Simulator builds in AppCenter?

Our Automation QA team require a simulator build of the test app. Getting below error while building:
Is It Possible to Build and Distribute Simulator builds in AppCenter?
I have contacted Appcenter's Helpdesk. Following is their response :
You can build and distribute apps in App Center that can run on simulators and also on real devices.
For Android, if the build has been correctly signed, the APK can be installed on a real device and deployed to the Play Store. If the build has not been signed, the APK can be run on an emulator.
For iOS simulator, it is required for you to properly code sign the app. You can learn more about code signing for iOS here: https://learn.microsoft.com/en-us/appcenter/build/ios/code-signing
Then please see the steps below to set up code signing when building your app in App Center:
To sign the builds produced from a branch, enable code signing in the configuration pane and upload a provisioning profile (.mobileprovision) and a valid certificate (.p12), along with the password for the certificate.
Download the ipa file to install on a simulator.

Titanium build error on device

I have a serious problem with titanium appcelerator studio build, i cannot build on device due to following error :
[ERROR] : An error occurred during build after 1m 35s 521ms
[ERROR] : Failed to install app on device (0xe8008018)
[ERROR] : For some reason the app failed to install on the device. Try reconnecting your device and check your provisioning profile and entitlements.
It happens just after titanium try to install app to device :
Installing app on device: xxx
Anyone has an idea about it please ?
Thank you.
To run on an iOS device, you need to have a valid signing cert and a valid provisioning profile that has that device's id embedded init.
Validity is important, as an expired signing cert will also return the
same error code (0xe8008018)
You can start up Xcode, visit the Devices window with your device plugged in to see the device console. That might give you more context than the titanium error logs will.
Follow ups would be:
1. Have you ever been able to build to a device with this project?
2. Have you ever been able to build to this device with this project?

Installing the app Extension to the device?

I am trying to install my application extension on my iPhone device, but I am getting the following error:
This application or a bundle it contains has the same bundle identifier as
this application or another bundle that it contains. Bundle identifiers must be unique.
The app container have the bundle id: com.companyName.AppName and the bundle identifier for the app extension is com.companyName.AppName.WidgetApp.
I have tried to sign the extension with the same provisioning, also I have installed a different AppID from the apple developer site and new provisioning profiles for the App Extension and Also tried to set the signing for the extension Widget to Automatic but still the same error and the app cannot be launched on the device.
What should i do in order to install my application extension to the device?
Here are screenshots of my General Tab for both my app and the Extension:
App:
Extension:
Thank you.
Executing a clean command worked for me.
This is done through the XCode menu item; Product > Clean or SHIFT + COMMAND + K
I had this exact problem and it was due to having a duplicated framework included in the build. I had included both a test and non-test version of the same dynamic framework. Once I removed one, the installation proceeded as expected.
I'm sharing this in the hopes that it will help someone else in case they encounter this particularly obscure situation.
In Swift :
If you installed pods then you have to change bundle identifier as org.cocoapods.podName in general identity. Make sure deployment target of all pods should be same to the project’s deployment target.

Titanium can't create valid IPA

I have used Appcelerators Titanium to create an App, and was about to deploy it to my iPad for testing when i ran into some issues. When i try to install the IPA thats been generated through Titanium and Xcode, i get this error:
Can't install application
The Info.plist for application at /Users/User/Music/iTunes/iTunes Media/Mobile Applications/myapp.ipa specifies a CFBundleExecutable of myapp, which does not exist
I've spent a couple of hours messing with the certificates, but Xcode says that the certificates are fine, and the target iPad is in the provisioning profile. The provisioning profile is also installed onto the iPad. This is driving me nuts, and i can't seem to figure it out.

iPad (4.2.1 is overriding Base SDK to 4.3)

I am trying to run my App on the device but when i was selecting the device it showed me this message "iPad (4.2.1 is overriding Base SDK to 4.3)". Then i setted my Base SDK to 3.2 as there are only two options available (3.2 and 4.3) and also setted my deployment target to 4.2. But when i build this application it showed me error:
Code Sign error: Provisioning profile (String) can't be found
thanks in advance
Something is wrong with your installed provisioning profile. It doesn't have anything to do with your SDK settings.
Either you don't have a correct profile installed, or it's expired, or the device you're trying to use isn't associated with it.
You should read through this and make sure you've followed the steps.