On Xcode 15, when I launch my app on "Wait for the executable to be lauched" mode, I can't debug because Xcode simply doesn't pause at my breakpoints. They change their look and turn to dotted blue outlined.
When I hover over breakpoint Xcode shows a message:
Xcode won't pause at this breakpoint because it has not been resolved Resolving it requires that:
The line at the breakpoint is compiled.
The compiler generates debug information that is not stripped out (check the Build Settings).
The library for the breakpoint is loaded.
On the other hand, when I launch it on "Automatically" mode, everything works fine.
Does anyone have any ideas how to solve it?
Best regards.
Post
Replies
Boosts
Views
Activity
Hi,
Yesterday I updated Xcode to v14.0. Today I submited an app and got these errors:
"We identified one or more issues with a recent delivery for your app, "XPTO" 1.95.3 (0.139). Please correct the following issues, then upload again.
ITMS-90482: Invalid Executable - The executable 'XPTO.app/XPTO' contains bitcode.
ITMS-90630: Invalid Executable - The executable 'XPTO.app/XPTO' does not contain compiled code"
Bitcode is set to YES on Build Setting -> Build Options -> Enable Bitcode
Does anyone know how to fix?
I've noticed some strange behavior with my apps running on devices with iOS 9/10/11 when using NSRequiresCertificateTransparency = true. I configured my ATS in info.plist as bellow:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>google.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSRequiresCertificateTransparency</key>
<true/>
</dict>
</dict>
</dict>
It works well on iOS 12 and above, but on older versions I get this error:
Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server can't be made." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x60400010b130>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802, NSErrorPeerCertificateChainKey=(
"<cert(0x7fd828866400) s: www.google.com i: GTS CA 1O1>",
"<cert(0x7fd828858800) s: GTS CA 1O1 i: GlobalSign>"
), NSUnderlyingError=0x6000004401e0 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "An SSL error has occurred and a secure connection to the server can't be made." UserInfo={NSErrorFailingURLStringKey=https://www.google.com/, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, kCFStreamPropertySSLPeerCertificates=(
"<cert(0x7fd828866400) s: www.google.com i: GTS CA 1O1>",
"<cert(0x7fd828858800) s: GTS CA 1O1 i: GlobalSign>"
), _kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x60400010b130>, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server can't be made., _kCFStreamErrorDomainKey=3, NSErrorFailingURLKey=https://www.google.com/, _kCFStreamErrorCodeKey=-9802}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server can't be made., NSErrorFailingURLKey=HTTPS://WWW.GOOGLE.COM, NSErrorFailingURLStringKey=HTTPS://WWW.GOOGLE.COM, NSErrorClientCertificateStateKey=0}
At first, I thought it would be a configuration in my server side, but I've tested with google.com (as I posted above) and the same error occurs.
I've also tested with apple.com and it worked perfectly, even on iOS 10, but any other URL I've tried, I got that error.
Any ideas why this is happening?