【问题标题】:IOS can't sync after renaming App.xcodeproj重命名App.xcodeproj后IOS无法同步
【发布时间】:2022-10-05 10:28:11
【问题描述】:

您好,我已手动将 App.xcodeproj 文件重命名为 MyProject.xcodeproj。现在我无法同步我的电容器项目ios cap sync

这是我得到的错误

[error] 2022-09-26 17:49:31.909 xcodebuild[11747:97674] Requested but did not find extension point with identifier
    Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS
    of plug-in com.apple.dt.IDEWatchSupportCore
    2022-09-26 17:49:31.911 xcodebuild[11747:97674] Requested but did not find extension point with identifier
    Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
    Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project App.xcodeproj clean
    
    User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES
    
    xcodebuild: error: 'App.xcodeproj' does not exist.
    
[ERROR] An error occurred while running subprocess capacitor.

有什么帮助吗?

【问题讨论】:

    标签: ios xcode capacitor


    【解决方案1】:

    如您的错误消息所示,XCode 仍在寻找旧文件App.xcodeproj

    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project App.xcodeproj clean
    

    只需将您的项目重命名为App.xcodeproj,它就会再次运行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-24
      • 2019-12-15
      • 2010-09-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多