Post

Replies

Boosts

Views

Activity

error NSURLErrorFailingURLPeerTrustErrorKey
hi i need to print to a fiscal ssl printer but i haven't ssl certificate on board, is it possible disable ssl check? i'm using xcode with objectc, i already added plist key for ignore ERROR: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “192.168.0.33” which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x600003d91200>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, kCFStreamErrorDomainKey=3, kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=(
2
0
1.4k
Jul ’20
xcode build failed sometimes
xcode 11.7 with a objectc with many xib with last xcode give me many error 255 compile, run or build... and after clean and run many times some times works... what can i do? Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255. The tool may have crashed. Please file a bug report at https://feedbackassistant.apple.com with the above output and attach any crash logs for ibtool, ibtoold, Xcode, and IBAgent created around the time of this failure. These logs can be found in ~/Library/Logs/DiagnosticReports or /Library/Logs/DiagnosticReports.
0
0
802
Sep ’20
classes deprecations
hi, i have a objc big project and now compiling i see: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 'UIAlertView' is deprecated: first deprecated in iOS 9.0 'sendSynchronousRequest:returningResponse:error:' is deprecated: first deprecated in iOS 9.0 - how many times i have for solve all issues? over 1000 files in project
2
0
686
Oct ’20
xcode 13 - objc project
hi, i try to test my obj project that works in xcode 12 now with xcode13 open a popover view show me this serius bug... is it a compiler problem with beta o will be an issue of my app? *** Assertion failure in UITraitCollection *UIViewControllerMissingInitialTraitCollection(UIViewController *__strong)(), UIViewController.m:2298 2021-06-09 09:48:26.881216+0200 simulatore[13360:233848] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIViewController is missing its initial trait collection populated during initialization. This is a serious bug, likely caused by accessing properties or methods on the view controller before calling a UIViewController initializer. View controller: <PopupLogin: 0x7fb705d08560>' *** First throw call stack: ( 0 CoreFoundation 0x00007fff203f6fa7 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff2019cbe7 objc_exception_throw + 48 2 Foundation 0x00007fff207480dd -[NSMutableDictionary(NSMutableDictionary) classForCoder] + 0 3 UIKitCore 0x00007fff24778f13 UIViewControllerMissingInitialTraitCollection + 188 4 UIKitCore 0x00007fff2477d3d7 -[UIViewController traitCollection] + 155 5 UIKitCore 0x00007fff24646a88 -[UIPopoverPresentationController traitCollectionDidChange:] + 105 6 UIKitCore 0x00007fff24657fc0 -[UIPresentationController _updateTraitsIfNecessary] + 280 7 UIKitCore 0x00007fff24658377 -[UIPresentationController _setInternalOverrideTraitCollection:] + 211 8 UIKitCore 0x00007fff24644d79 -[UIPopoverPresentationController initWithPresentedViewController:presentingViewController:] + 739 9 UIKitCore 0x00007fff2479332b -[UIViewController popoverPresentationController:] + 325 10 UIKitCore 0x00007fff246e371a -[UIPopoverController _presentShimmedPopoverFromRect:inView:permittedArrowDirections:animated:] + 104 11 UIKitCore 0x00007fff246e3ab1 -[UIPopoverController presentPopoverFromRect:inView:permittedArrowDirections:animated:] + 416 12 simulatore 0x000000010d505848 -[iOrmaBeautyViewController bAccedi:] + 8408 13 UIKitCore 0x00007fff24f358e8 -[UIApplication sendAction:to:from:forEvent:] + 83 14 UIKitCore 0x00007fff247d844d -[UIControl sendAction:to:forEvent:] + 110 15 UIKitCore 0x00007fff247d882f -[UIControl _sendActionsForEvents:withEvent:] + 332 16 UIKitCore 0x00007fff247d70e0 -[UIControl touchesEnded:withEvent:] + 488 17 UIKitCore 0x00007fff24f7565a -[UIWindow _sendTouchesForEvent:] + 1287 18 UIKitCore 0x00007fff24f774a5 -[UIWindow sendEvent:] + 4728 19 UIKitCore 0x00007fff24f4eac6 -[UIApplication sendEvent:] + 595 20 UIKitCore 0x00007fff24fe4204 __processEventQueue + 14104 21 UIKitCore 0x00007fff24fdbda6 __eventFetcherSourceCallback + 240 22 CoreFoundation 0x00007fff20363bdc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 23 CoreFoundation 0x00007fff20363ad4 __CFRunLoopDoSource0 + 180 24 CoreFoundation 0x00007fff20362faf __CFRunLoopDoSources0 + 242 25 CoreFoundation 0x00007fff2035d6f7 __CFRunLoopRun + 875 26 CoreFoundation 0x00007fff2035cea9 CFRunLoopRunSpecific + 567 27 GraphicsServices 0x00007fff2c951cd3 GSEventRunModal + 139 28 UIKitCore 0x00007fff24f2f72a -[UIApplication _run] + 915 29 UIKitCore 0x00007fff24f34192 UIApplicationMain + 101 30 simulatore 0x000000010dc69298 main + 104 31 dyld 0x000000010ee50e1e start_sim + 10 32 ??? 0x0000000000000001 0x0 + 1 ) libc++abi: terminating with uncaught exception of type NSException dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/Simone/Library/Developer/Xcode/DerivedData/vanigliaprobeta-fwvkaycrayourfceorpockhodfjg/Build/Products/Debug-iphonesimulator:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib:/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMTLCapture.dylib DYLD_FRAMEWORK_PATH=/Users/Simone/Library/Developer/Xcode/DerivedData/vanigliaprobeta-fwvkaycrayourfceorpockhodfjg/Build/Products/Debug-iphonesimulator *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIViewController is missing its initial trait collection populated during initialization. This is a serious bug, likely caused by accessing properties or methods on the view controller before calling a UIViewController initializer. View controller: <PopupLogin: 0x7fb705d08560>' terminating with uncaught exception of type NSException CoreSimulator 772.1 - Device: iPad Pro (12.9-inch) (5th generation) (5B9B2A53-699B-4F05-AF9C-40F4495DE42A) - Runtime: iOS 15.0 (19A5261u) - DeviceType: iPad Pro (12.9-inch) (5th generation) (lldb) code-block
3
0
2.8k
Jun ’21
ITMS-91055: Invalid API reason declaration
in this weeks i received this error: ITMS-91055: Invalid API reason declaration - The PrivacyInfo.xcprivacy for the “VanigliaPro” file contains “App Functionality” as the value for a NSPrivacyAccessedAPITypeReasons key instead of a valid reason code for using an API in the NSPrivacyAccessedAPICategoryFileTimestamp category. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, values for NSPrivacyAccessedAPITypeReasons keys in your app’s privacy manifest must be valid reason codes for the corresponding API category. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api. ITMS-91053: Missing API declaration - Your app’s code in the “xxxx” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api. ITMS-91053: Missing API declaration - Your app’s code in the “xxxx” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api. any help for make correct privacy file?
1
1
2.4k
Apr ’24