Apple Watch App - Invalid Swift entry point data

For iOS 14 and watchOS 7.0, I completely recoded and modernized my app using Swift (was Objective C). I am almost done and am most proud of the job, but I have this issue that I need to fix on the Apple Watch app. I am not able to transfer data to the Apple Watch from the iPhone and get the following console messages. (The [***:xxxxxx] are my modification of the console messages.). I am guessing that the first 2 messages are the thing I need to fix and I need to fix this issue before I submit the app.

2020-09-24 08:29:02.873423-0400 WatchApp Extension[***:xxxxxx] [default] lookupMainFuncAddressInMachHeader:71: Invalid Swift entry point data

2020-09-24 08:29:02.874413-0400 WatchApp Extension[***:xxxxxx] [default] lookupMainFuncAddressInMachHeader:77: Swift entry point addres could not be determined.

2020-09-24 08:29:04.001368-0400 WatchApp Extension[***:xxxxxx] [WC] denying activation due to missing delegate

ExtensionDelegate: your iphone is Reachable

ExtensionDelegate: Session activated

2020-09-24 08:29:10.884500-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated

2020-09-24 08:29:15.046379-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate

2020-09-24 08:29:15.047176-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate

2020-09-24 08:29:15.047860-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate

2020-09-24 08:29:15.782075-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated

2020-09-24 08:29:24.390293-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated

2020-09-24 08:31:57.059417-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated

2020-09-24 08:32:00.055282-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated

InterfaceController: your iphone is Reachable

2020-09-24 08:32:00.058230-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated

2020-09-24 08:32:08.427192-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated

2020-09-24 08:32:13.374677-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate

2020-09-24 08:32:13.375717-0400 WatchApp Extension[***:xxxxxx]] [WC] WCSession is missing its delegate

2020-09-24 08:32:13.376426-0400 WatchApp Extension[***:xxxxxx] [WC] WCSession is missing its delegate

2020-09-24 08:32:51.861915-0400 WatchApp Extension[***:xxxxxx] [WC] already in progress or activated
Answered by SpaceMan in 637118022
Well, I fiddled with it and it works now. I'm not exactly sure what I did, but the Watch App component of my app is working. Also, I cancelled my request for tech help.
I also get this error. I'm on XCode 12.2 (I can't update it, because I need 20+ gb free space to do that for some reason, which is near impossible with my 128gb MBP). I can't think of any code change I've made which would've caused this. As a sanity check, I've commented out almost all of the UI (I was solely doing UI work when this started happening), and it's still happening.

They could at least get the spelling in the error message correct.
Code Block
Swift entry point addres could not be determined.

It really shows the level of attention they're giving to Watch development. You'd expect better from a $2T company
I resolved this issue by setting the watchOS deployment target to 6.0 and downloading and installing v6.2 of the simulator.

I'm not sure if the resolution was due to upgrading target, or resolving target/simulator watchOS miss-match (which for a while I had) or just because I upgraded/re-installed simulator.
@SpaceMan, whats the solution, I'm getting same issue
Xcode Log Error:

Warning: Error creating LLDB target at path '/Users/XXXXX/Library/Developer/Xcode/DerivedData/VM-ahksdstzldqcwielhvihoeabkyqy/Build/Products/Release-watchsimulator/KWatchOS2.app'- using an empty LLDB target which can cause slow memory reads from remote devices.
skipping /Applications/Xcode12.app/Contents/Developer/Platforms/WatchOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
2021-04-19 16:40:36.632492+0530 KWatchOS2 Extension[4857:50926] [default] lookupMainFuncAddressInMachHeader:71: Invalid Swift entry point data
2021-04-19 16:40:36.633521+0530 KWatchOS2 Extension[4857:50926] [default] lookupMainFuncAddressInMachHeader:77: Swift entry point addres could not be determined.


Xcode Running Error Details:

Error Launching 'KWatchOS2.app'
Domain: IDELaunchErrorDomain
Code: 16
Failure Reason: DTServiceHub Watch Control Channel init failure for: com.XXXX.WatchDemo.watchkitapp
  • -

DTServiceHub Watch Control Channel init failure for: com.XXXX.WatchDemo.watchkitapp
Domain: DVTDeviceErrorDomain
Code: -1
  • -

System Information

macOS Version 10.15.7 (Build 19H524)
Xcode 12.2 (17535) (Build 12B45b)

How can the accepted answer be the accepted answer? That's insane. Please tell us what fixed it.

Same problem here... please fix or explain how to fix.

2022-05-25 12:58:08.901951+0200 WatchAppPdTest WatchKit Extension[10107:4318585] [default] lookupMainFuncAddressInMachHeader:77: Swift entry point addres could not be determined.
Apple Watch App - Invalid Swift entry point data
 
 
Q