I'm not able to inspect WeatherKit objects like HourWeather and CurrentWeather using the Xcode debugger and breakpoints. When I pause on a breakpoint and try something like po hours where hours is a [HourWeather] I get a debugger error like Couldn't lookup symbols: type metadata accessor for WeatherKit.HourWeather.
Is there something about WeatherKit that prevents the debugger from printing out its objects?
Dive into the vast array of tools, services, and support available to developers.
Post
Replies
Boosts
Views
Activity
, it is after update to Xcode 14.3:
[default] CGSWindowShmemCreateWithPort failed on port 0
Xcode cloud builds were failing with the following error. It wasn't the problem before yesterday morning 26.Apr.2023 before 1:00 PM.
Please let me know what the issue is or if there is anything I can do to solve this.
Additional information:
The app is a react-native app.
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
fatal: expected flush after ref listing
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[in /Volumes/workspace/repository/ios]
[!] Invalid Podfile file: cannot load such file -- /Volumes/workspace/repository/node_modules/react-native/scripts/react_native_pods.
from /Volumes/workspace/repository/ios/Podfile:1
-------------------------------------------
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
-------------------------------------------
Error
Command exited with non-zero exit-code: 1
hello. i have 3 time started a new project now
I am making a app and i get a Error code on Info.plist file.
I have been trying to resolve an issue with the Info.plist file in an Xcode project. The error message is "Multiple commands produce" related to the Info.plist file. I have tried several approaches to fix the issue, including:
Checking the "Copy Bundle Resources" section in the "Build Phases" tab of the project settings to ensure there is only one Info.plist file listed.
Deleting the Info.plist file from the project and creating a new one, then updating the reference to the Info.plist file in the "Build Settings" tab.
Can anyone help me with this??
Issue: When I click run unit tests the tests get 'stuck' and in the top bar is says "Testing..." and never completes - I even left it for an hour.
I have created new projects with no code written and the same thing happens.
I have deleted and re-downloaded code as well.
Current Xcode: 14.3
I don't believe it's a project issue since I have tried multiple but rather something with Xcode.
and my CPU % for Xcode shoots to 365+ when this is happening. I have a M1 Max with 64GB.
Any help would be appreciated.
Hi,
We've tried to reach Apple regarding our developer program enrollment.
We've been waiting for over 5 months and have tried to send several support emails without getting any feedback.
We need to release our app as a part of our product very soon, so please support us.
Best regards,
Thomas
Buenas a toda la comunidad, quería comentar mi caso para ver si me pueden ayudar.
Me registré y realicé lo requerido para dar de alta a la membresía en apple developer, hace mas de 96hs. todavía figura pendiente y nadie me responde.
Alguna sugerencia? ya he intentado realizarla con otro correo, etc.
Muchas gracias
Hi,
Since yesterday (May 11, 2023) I can no longer send an update on TestFlight for the Apple Developer account of a client on which I am admin. It gives me the following error:
The last time I sent a version to TestFlight was May 4, 2023 and I had no problem.
With other client applications I have no problem sending my updates to TestFlight.
I have no problem connecting to Apple Connect with my Apple ID, I can see that I am an admin on the Apple Developer account.
My config:
macOS 13.3.1 (a)
Xcode Version 14.3 (14E222b)
Regards
Tof
My tests fail with "Restarting after unexpected exit, crash, or test timeout". This is what I have so far established:
Does only happen when building with xcodebuild (14.3) but not when building with Xcode (14.3)
Tests that are failing are in a .testTarget within a local swift package and part of a test plan together with tests that are in subprojects
there are no crashlogs, so likely these tests are not crashing
with Xcode 14.2 there are no problems whatsoever (xcodebuild or Xcode)
Any ideas on how to debug this any further?
Best Roddi
Hi,
I am helping Evan Richman with the team id L7JQRVXU2V transition to my business (MCRICH LLC), but the status has been in transition for about 1.5 weeks, even though I have gotten the confirmation code. What is going on?
Please help!
The LLDB RPC server has crashed. You may need to manually terminate your process. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.
Hai gais.. i have question about xcode installation.. can i use m2/ssd storage to install n running xcode? For free up my internal space
Whenever I try to open Xcode it gives me an error. I have Xcode on the latest version available on the App Store.
I have been getting these error messages in debug window in Xcode:
2023-06-06 07:46:15.412684-0500 Courier[8456:442818] [LayoutConstraints] Unsupported layout off the main thread for _UIModernBarButton with nearest ancestor view controller, UINavigationController
2023-06-06 07:46:15.413268-0500 Courier[8456:442818] [Assert] -[UIImageView _invalidateImageLayouts] must be called on the main queue
2023-06-06 07:46:15.413730-0500 Courier[8456:442818] [Assert] -[UIImageView _layoutForImage:inSize:cachePerSize:forBaselineOffset:] must be called on the main queue
(lldb)
The messages come when my code crashes and gives this error message in a red ribbon in the editor window:
Thread 10: EXC_BREAKPOINT (code=1, subcode=0x10515fd44)
In the Debug navigator on the left pane of Xcode, it shows the code stopped at:
#0 0x000000010515fd44 in _dispatch_assert_queue_fail ()
This is what shows at the end in the editor window. At the very end is where the error message in the red ribbon shows:
0x10515fd10 <+68>: add x9, x9, #0xf2f ; "BUG IN CLIENT OF LIBDISPATCH: Assertion failed: "
0x10515fd14 <+72>: stp x9, x8, [sp]
0x10515fd18 <+76>: adrp x1, 65
0x10515fd1c <+80>: add x1, x1, #0xefa ; "%sBlock was %sexpected to execute on queue [%s (%p)]"
0x10515fd20 <+84>: sub x0, x29, #0x18
0x10515fd24 <+88>: bl 0x10519cfc8 ; symbol stub for: asprintf
0x10515fd28 <+92>: ldur x19, [x29, #-0x18]
0x10515fd2c <+96>: str x19, [sp]
0x10515fd30 <+100>: adrp x0, 65
0x10515fd34 <+104>: add x0, x0, #0xf65 ; "%s"
0x10515fd38 <+108>: bl 0x1051986b0 ; _dispatch_log
0x10515fd3c <+112>: adrp x8, 98
0x10515fd40 <+116>: str x19, [x8, #0x268]
-> 0x10515fd44 <+120>: brk #0x1
I have no idea which code is causing the error, so I don't even know what code to put in my question.
I created a symbolic breakpoint with 'LayoutConstraints' in the Symbol field. It is never tripped.
I get no purple warnings that says a line of code should not be in the main thread.
I have no idea where to go from here. I don't ind anything when I do a search in the internet that is narrowed down to address my error.
I am running the code on an iPhone 13 Pro Max device with iOS 16.5.
I am using Xcode 14.3 on a Mac Pro running Ventura 13.4
Running on a Core i9 MacBook Pro with macOS 13.4 (22F66) and the Xcode 15 beta. Running "Export Localizations" seems to work fine with smaller projects, but in my larger project, it's not working unless I do a "Clean" first.
The way my project is set up is that the main project depends on a few dynamic frameworks built from other Xcode projects which are incorporated into the main project and set as dependencies.
What happens is that I'm getting the error "Unable to build project for localization string extraction. See the build logs for failure description." In the logs, I see that the Link (x86_64) step succeeds, but the Link (arm64) step fails, with a Could not find or use auto-linked framework 'MyFramework' message for each framework dependency that's in another Xcode project. This would suggest that the dependencies are being built only for x86_64. If I clean the project, the "Export Localizations" will then succeed, but if I do a regular build again, "Export Localizations" goes back to being broken.
What I think is happening is that the "Export Localizations" workflow is using the same binaries as Debug builds, and leveraging any existing Debug builds that happen to exist instead of rebuilding them, but it's also trying to build for all supported architectures whereas a Debug build usually only builds the current one. This, of course, causes a failure to link to dependent libraries/frameworks, since they don't have binaries for the non-active architecture.
Is there any way to turn off building for all architectures for the "Export Localizations" workflow? I don't think it's necessary just for localizations TBH.
String catalog is a great new feature to organize strings in one place. What would you recommend how to handle extracted Strings which need not be translated in different languages
After updating the os to iOS17 beta, not able to install the enterprise app through ipa, it throws error
Error installing '//Downloads/-Internal-Appstore-23.6.5-1.ipa', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSUnderlyingError=0x600019bcc750 {Error Domain=com.apple.dt.CoreDeviceError Code=3000 "The item at -Internal-Appstore-23.6.5-1.ipa is not a valid bundle." UserInfo={NSURL=file:////Downloads/-Internal-Appstore-23.6.5-1.ipa, NSLocalizedDescription=The item at -Internal-Appstore-23.6.5-1.ipa is not a valid bundle., NSLocalizedFailureReason=Failed to read the bundle.}}, NSLocalizedDescription=Failed to install the app on the device., NSURL=file:///Downloads/-Internal-Appstore-23.6.5-1.ipa}
Kindly update on this. Do any code side changes have to be done for this to fix these issue?
Hi there!
Back with Xcode 14 and iOS 16 there were two new app icon sizes introduced to iOS:
64pt @2x (128x128px)
64pt @3x (192x192px)
68pt @2x (136x136px)
What are those icons used for?
Neither the Xcode 14 release notes nor the Human Interface Guidelines are mentioning those sizes and what they are used for.
In previous Xcode versions the asset catalog had labels for each icon size. As Xcode 15 still doesn’t bring that feature back I’m still puzzled when those icon sizes are visible to the user.
Best! – Alex
In Xcode 15.0.0 I have created a package using a template Swift Macro. I have named it 'MyMacroApple'. The template comes with #stringify macro so I have created an new app and named it 'MyMacroApp' then copy pasted the code from 'MyMacroApple' main.swift file
import MyMacroApple
let a = 17
let b = 25
let (result, code) = #stringify(a + b)
then I have added Local package dependency to the app project and selected package product 'MyMacroApple' of Library kind to my 'pocMyApp' target.
When I run the project I get the error: "No such module 'MyMacroApple'"
Hi friends,
I'm using XCode 14.3.1, and suddenly I can't build my app, I'm getting this errors:
`
Could not build the precompiled application for the device.
Error (Xcode): Undefined symbol: _FIRConsentStatusDenied
Error (Xcode): Undefined symbol: _FIRConsentStatusGranted
Error (Xcode): Undefined symbol: _FIRConsentTypeAdStorage
Error (Xcode): Undefined symbol: _FIRConsentTypeAnalyticsStorage
Error (Xcode): Undefined symbol: _FIRFirestoreErrorDomain
Error (Xcode): Undefined symbol: _GADAdLoaderAdTypeNative
Error (Xcode): Undefined symbol: _GADAdSizeFluid
Error (Xcode): Undefined symbol: _GADAdSizeFromCGSize
Error (Xcode): Undefined symbol: _GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth
Error (Xcode): Undefined symbol: _GADCurrentOrientationInlineAdaptiveBannerAdSizeWithWidth
Error (Xcode): Undefined symbol: _GADErrorUserInfoKeyResponseInfo
Error (Xcode): Undefined symbol: _GADInlineAdaptiveBannerAdSizeWithWidthAndMaxHeight
Error (Xcode): Undefined symbol: _GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth
Error (Xcode): Undefined symbol: _GADLandscapeInlineAdaptiveBannerAdSizeWithWidth
Error (Xcode): Undefined symbol: _GADMaxAdContentRatingGeneral
Error (Xcode): Undefined symbol: _GADMaxAdContentRatingMatureAudience
Error (Xcode): Undefined symbol: _GADMaxAdContentRatingParentalGuidance
Error (Xcode): Undefined symbol: _GADMaxAdContentRatingTeen
Error (Xcode): Undefined symbol: _GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth
Error (Xcode): Undefined symbol: _GADPortraitInlineAdaptiveBannerAdSizeWithWidth
Error (Xcode): Undefined symbol: _IsGADAdSizeValid
Error (Xcode): Undefined symbol: _NSValueFromGADAdSize
Error (Xcode): Undefined symbol: OBJC_CLASS$_AwesomeNotificationsFcmPlugin
Error (Xcode): Undefined symbol: OBJC_CLASS$_AwesomeNotificationsPlugin
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRAnalytics
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRDocumentChange
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRDocumentReference
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRDocumentSnapshot
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFieldPath
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFieldValue
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFilter
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFirestore
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFirestoreSettings
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRGeoPoint
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRLoadBundleTaskProgress
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRQuerySnapshot
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRSnapshotMetadata
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRTimestamp
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRTransactionOptions
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADAdLoader
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADAppOpenAd
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADBannerView
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADDebugOptionsViewController
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADExtras
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADInterstitialAd
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADMobileAds
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADNativeAdImageAdLoaderOptions
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADNativeAdMediaAdLoaderOptions
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADNativeAdView
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADNativeAdViewAdOptions
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADRequest
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADRequestConfiguration
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADRewardedAd
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADRewardedInterstitialAd
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADServerSideVerificationOptions
Error (Xcode): Undefined symbol: OBJC_CLASS$_GADVideoOptions
Error (Xcode): Undefined symbol: OBJC_CLASS$_GAMBannerView
Error (Xcode): Undefined symbol: OBJC_CLASS$_GAMInterstitialAd
Error (Xcode): Undefined symbol: OBJC_CLASS$_GAMRequest
Error (Xcode): Undefined symbol: OBJC_CLASS$_GIDConfiguration
Error (Xcode): Undefined symbol: OBJC_CLASS$_GIDSignIn
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCameraPosition
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCameraUpdate
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCircle
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCoordinateBounds
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMapStyle
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMapView
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMarker
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMutablePath
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSPolygon
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSPolyline
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSServices
Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSTileLayer
Error (Xcode): Undefined symbol: OBJC_METACLASS$_GADNativeAdView
Error (Xcode): Undefined symbol: OBJC_METACLASS$_GMSTileLayer
Error (Xcode): Undefined symbol: _kFIRFirestoreCacheSizeUnlimited
Error (Xcode): Undefined symbol: _kGADAdSizeSmartBannerLandscape
Error (Xcode): Undefined symbol: _kGADAdSizeSmartBannerPortrait
Error (Xcode): Undefined symbol: _kGIDSignInErrorDomain
Error (Xcode): Undefined symbol: _kGMSMaxZoomLevel
Error (Xcode): Undefined symbol: _kGMSMinZoomLevel
Error (Xcode): Undefined symbol: _kGMSTileLayerNoTile
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Error launching application on MyPhone's iPhone.
`
Any idea how to fix this issue :( thanks in advance!