I am using Xcode for creating a watchOS app with iOS application. When I run my empty application, I am getting the errors below in debug console. I'm not sure why I am getting these errors.
WatchApp Extension[1722:69488] [default] lookupMainFuncAddressInMachHeader:71: Invalid Swift entry point data
WatchApp Extension[1722:69488] [default] lookupMainFuncAddressInMachHeader:77: Swift entry point address could not be determined.
There is an ongoing discussion on the Apple developer forum: https://developer.apple.com/forums/thread/661727
I resolved this issue by setting the watchOS deployment target to 6.0 and downloading and installing v6.2 of the simulator.
Related
We have an extension in our iOS project (Broadcast Upload Extension). The extension works well when doing local builds, however whenever we do a TestFlight build a distribute it we encounter following exception (found in device logs):
Error getting proxy for beta app with bundleID
com.foo.bar.screenshareextension: Error
Domain=ASDTestFlightFeedbackErrorDomain Code=5 "Failed to find a valid
app with bundleID com.foo.bar.screenshareextension"
UserInfo={NSDebugDescription=Failed to find a valid app with bundleID
com.foo.bar.screenshareextension}
one more error lists:
[com.foo.bar] Error was encountered trying to find service extension:
error=Error Domain=UNErrorDomain Code=1904 "Unknown application"
UserInfo={NSLocalizedDescription=Unknown application}
the bundle IDs are set correctly (meaning the container app has "com.foo.bar" bundle id while the extension has com.foo.bar.extensionname".
The extension is referenced through
var bundleUrl = NSBundle.MainBundle.GetUrlForResource("Foo.iOS.ScreenShareExtension", "appex", "PlugIns");
I can confirm actually that the extension appex file is physically in the archived file for distribution.
The only difference is that the min OS version is set differently in the container app & in the app extension. However when doing local builds this doesn't seem to matter.
What could be the reason for not being able to target the extension? (seems like it's missing?)
ps: we are using Xamarin.Forms
Not sure if this helps: I encountered a similar error today, the reason is that the default build target of the notification extension is 13.6(the latest OS), while my testing device is in 13.5. After I changed the build target, everything works fine.
I've got same error with native Swift code on iPhone 6 (12.4.8).
I'm still not sure what causes this bug, but for me it fixes only by changing device. On iPhone 8 (13.6) the absolutely same code works just fine, rebuilding for iPhone 6 and it's not even trying.
I am upgrading a project from Swift 3 to Swift 5. The project uses Realm for an internal database, but every time I launch the app in the simulator I get the following errors in the console:
ATS failed system trust
Connection 2: system TLS Trust evaluation failed(-9802)
I'm pretty sure this is a Realm issue as the app doesn't try to make any other external connections. When running on a older version of Xcode(8), it all works fine without errors. I'm currently testing on Xcode 10.3 and 11 (beta) and using Realm 3.17.3.
Any help would be appreciated.
This error is only produced in the simulator. When running on an actual device no errors get logged
Please, someone can help. Since the update of XCODE to 8.1, I get the following error when trying to upload the application to the store : ERROR ITMS-90685: "CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'org.nativescript.TNSWidgets' under the iOS application 'careeat.app'."
#Nikolay Tsonev, not exactly the same error. The one you are taking about can be resolved only on rebooting your mac.
I have an existing iOS project written in Swift successfully running on iOS 8.4.1. I have compiled the project on Xcode 7 with some changes as per in Swift 2.0. It's running on Simulator. But when I start using device, Application start crashing at launch time
/Frameworks/libswiftCore.dylib: mmap() error 1 at address=0x1002C0000, size=0x00214000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/89E98704-14A2-4341-B0A9-61F9DD639100/....../Frameworks/libswiftCore.dylib.
I have tried all the suggestion from StackOverflow and other resources except Altering Apple Certificates.
Can anyone let me know what would be the issue and how can I overcome to this problem.
Thanks
I have just downloaded XCode 6 and adjusted my application to run under it.
It seems to work just fine, however I use SFHFKeychainUtils, and when I run the application in the simulator I get the error:
error getting UUID: The operation couldn’t be completed. (SFHFKeychainUtilsErrorDomain error -34018.)
Looking at the code, I'm not quite sure why I would get that error. I also do not get that error running my application on an iOS7 device running from XCode6, just the simulator, so I think it's an iOS 8 error.
Any thoughts on resolving this?
Error code 34018. It happens when client has neither application-identifier nor keychain-access-groups entitlements.
iOS 8 is BETA version and doesn’t support Keychain Access developer APIs on the simulator at the moment.
iOS 8 beta Release Notes