2

Hello guys I am trying to add watch framework in my project. So that I can reuse the code.

But as soon as I add Watch Framework and when I try to run the app, I am getting the following error:

The operation couldn’t be completed. (LaunchServicesError error 0.)

Also i gone through the log file CoreSimulator.log i am getting this error

watch kit 2 app has framework that's not allowed

enter image description here

enter image description here

Also I set my Project Deployment target to iOS 9.

The naming convention of bundle identifier is also proper.

Mukesh
  • 3,680
  • 1
  • 15
  • 32
  • Can you put down bundle identifier of your watch extension and app? – iEinstein Oct 28 '15 at 13:02
  • app bundle id is `com.exa.au.digitalanniversaries` and Watch Framework bundle id is `com.exa.au.dawatchkit` – Mukesh Oct 28 '15 at 13:03
  • Please check this. Are you following the same? - http://stackoverflow.com/questions/29097067/xcode-6-2-watchkit-sample-app-doesnt-start-the-operation-couldn-t-be-complete – iEinstein Oct 28 '15 at 13:05
  • Also check that http://stackoverflow.com/questions/25632886/an-error-was-encountered-while-running-domain-launchserviceserror-code-0/26129829#26129829 – iEinstein Oct 28 '15 at 13:06
  • Where as I see you have com.exa.au.digitalanniversaries this is your bundle identifier So Watch framework bundle identifier should be com.exa.au.digitalanniversaries.watchkitextension according to one answer. Isn't it? – iEinstein Oct 28 '15 at 13:11
  • I am talking about the problem which can be a reason for that – iEinstein Oct 28 '15 at 13:15
  • no that sud be with parent bundle identifier,its correct.Bcz i can run app without Watch Framework – Mukesh Oct 28 '15 at 13:22
  • OK I am searching a solution for that but when you are adding framework to your app make it optional, Perhaps it can solve the problem. – iEinstein Oct 28 '15 at 13:29
  • No @iEinstein it didnt worked, i added screenshot ,which i am trying to do – Mukesh Oct 28 '15 at 13:33
  • OK @muku Sorry but I didn't do too much work on watchkit but I will try to answer you with one of my friend's help :) . – iEinstein Oct 29 '15 at 06:48

0 Answers0