Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

After updating xcode 'ionic build ios' not working

未關閉
#3,589 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
32/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
ios, typescript
領域
cli, mobile

研究方向

首先,使用回報的 Ionic CLI、Cordova、iOS platform、NodeJS、macOS 和 Xcode 版本重現 ionic build ios 和 ionic emulate ios。檢查產生的 platforms/ios/build/emulator/demo APP.app/Info.plist 路徑,並比較 iOS 建置和模擬器的輸出。完成標準是:更新 Xcode 後,iOS 應用程式能夠建置,並且可以透過 Ionic CLI 啟動。

由索引模型根據 Issue 內容生成。

描述

triage

Description:
I have updated my Xcode v9.0 to v10.0. after updating Xcode ionic build ios does not work anymore, therefore ionic emulate ios doesn't work, meaning I cannot run the app through the ionic CLI but I am able to run an app through Xcode.

ionic build android still works fine.

Output:
'ionic emulate ios' gives an error as:
No target specified for emulator. Deploying to iPhone-XS-Max, 12.0 simulator
/Users/.../mobileApp/platforms/ios/build/emulator/demo APP.app/Info.plist file not found.
[ERROR] An error occurred while running subprocess cordova.

    cordova emulate ios exited with exit code 1.

My ionic info:
Ionic:

ionic (Ionic CLI) : 4.1.2 (/Users/tanvishah/.nvm/versions/node/v10.5.0/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.7.1
@ionic/app-scripts : 3.0.1

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-webview 1.2.1, (and 11 other plugins)

System:

Android SDK Tools : 26.1.1 (/Users/xyz/Library/Android/sdk)
ios-deploy : 2.0.0
NodeJS : v10.5.0 (/Users/xyz/.nvm/versions/node/v10.5.0/bin/node)
npm : 6.1.0
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10A255

主要語言
TypeScript
星號
2k
分支
681
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ionic-team/ionic-cli 的其他 Issue

查看 ionic-team/ionic-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。