15

I can install the watch app on my iPhone using Xcode fine. But, I get the following error when I (or my beta testers) try to install the watch app using TestFlight.

enter image description here

I found this message on the console. The provisioning profiles are handled by Xcode automatically. Previous build of this app had no problem with the Watch app installation via TestFlight, but now even previous builds in TestFlight refuse to install the watch app. enter image description here

Bhavesh Nayi
  • 3,626
  • 1
  • 27
  • 42
RawMean
  • 8,374
  • 6
  • 55
  • 82
  • 2
    I experienced the exact same issue. I see the same error in the console logs as well. When I scroll up a little higher, I see this message too: `No watch app found with bundle ID org.cocoapods.CocoaLumberjack`. So, I'm wondering if it's related to CocoaPods. – Logan Gauthier Apr 29 '19 at 16:43
  • @LoganGauthier Do you also see the error message in the log related to provisioning profiles – RawMean Apr 29 '19 at 20:05
  • Yea, I saw the same log as what you posted and then scrolled up a bit and saw the log related to CocoaPods/CocoaLumbjerack. – Logan Gauthier Apr 29 '19 at 20:17
  • @LoganGauthier I also get `[ACXDeviceConnectionClient fetchInfoForApplicationWithBundleID:forDeviceWithPairingID:completion:]: 424: No watch app found with bundle ID org.cocoapods.ObjectMapper`. I think CocoaPods may have something to do w/ the problem. – RawMean Apr 29 '19 at 23:22
  • @LoganGauthier Do you get a warning related to `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` when you do `pod install`? – RawMean Apr 29 '19 at 23:26
  • 1
    I do get a warning for that right now for my main target, but not the watch target. Btw, I'm currently removing CocoaLumberjack from my watch app just to test to see if it will be able to install so we can confirm that it's somehow related to CocoaPods. My coworker and I are both working on this issue, so I'll update you on what we find. – Logan Gauthier Apr 30 '19 at 16:07
  • 1
    I'm seeing exactly the same thing (including the cocoapods log). No warnings when running `pod install` here. – simon May 01 '19 at 09:14
  • @simon, don't forget to file a bug report with Apple: https://bugreport.apple.com – RawMean May 01 '19 at 15:11
  • 1
    I've filed a bug with Apple and included a sample project that they can reproduce it with, so hopefully they can resolve it relatively quickly. – Logan Gauthier May 01 '19 at 19:33
  • 2
    Has anyone actually shipped an app to the store in this state? Does the Apple Watch app work? – simon May 01 '19 at 21:49
  • There's a thread going over at the dev forums as well. https://forums.developer.apple.com/thread/116139 – Robbie Trencheny May 01 '19 at 22:27
  • 1
    Also just opened a GitHub issue over at CocoaPods for this since it smells like a issue they may be able to help with... https://github.com/CocoaPods/CocoaPods/issues/8754 – Robbie Trencheny May 01 '19 at 22:32
  • @LoganGauthier Let us know if you get a radar filed? The dev forums thread I linked above references radar #50346984. – Robbie Trencheny May 01 '19 at 22:39
  • 1
    Finally, thanks to @RawMean's tip, I confirmed I am seeing the following in my console logs: `[ACXDeviceConnectionClient fetchInfoForApplicationWithBundleID:forDeviceWithPairingID:completion:]: 424: No watch app found with bundle ID org.cocoapods.XCGLogger`. I do also have ObjectMapper in my pods though. – Robbie Trencheny May 01 '19 at 22:41
  • I have filed a bug report: #50336347. Just got off the phone with Apple support. They are asking me to send them screenshots and more info. Please also contact them is you have the issue: https://developer.apple.com/contact/#!/topic/SC1104/subtopic/30042/solution/CALL/details – RawMean May 01 '19 at 22:43
  • @RawMean Can you submit the radar to https://openradar.appspot.com as well? – Robbie Trencheny May 01 '19 at 22:49
  • 3
    @simon Our app on the App Store installs fine (same build that we have problems with on TestFlight), so it appears to be safe to ship. – Logan Gauthier May 03 '19 at 16:44
  • Just got the is response from Apple DTS: "App Store Connect is aware of your issue now and is looking for a solution. " – RawMean May 03 '19 at 21:33

1 Answers1

1

The problem was with TestFlight and Apple has fixed the problem. I can confirm that the watch app installs using TestFlight now. I did not change anything on my side.

RawMean
  • 8,374
  • 6
  • 55
  • 82
  • 2
    Definitely not yet fixed on my side. I've tried many times with no success. Did you install an update to the TestFlight app? – wazawoo May 09 '19 at 15:40