codex - 💡(How to fix) Fix Proof that there's a bug depleting all my limits! [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19123Fetched 2026-04-24 06:00:27
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1cross-referenced ×1

Error Message

xcrun: error: SDK "iphoneos" cannot be located xcrun: error: SDK "iphoneos" cannot be located xcrun: error: Failed to open property list '/Users/Hennas/Desktop/godot-ios-plugins/godot/iphoneos/SDKSettings.plist' xcrun: error: SDK "iphoneos" cannot be located xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos' ERROR: Failed to find SDK path while running 'xcrun --sdk iphoneos --show-sdk-path'.

Root Cause

Detail of the 4 questions asked:

  1. command not found: scons - Worked for 14s
  2. scons: *** Invalid value for enum variable 'target': 'debug'. Valid values are: ['editor', 'template_release', 'template_debug'] File "/Users/Hennas/Desktop/godot-ios-plugins/godot/SConstruct", line 362, in <module> - Worked for 8s
  3. scons: Reading SConscript files ... Auto-detected 12 CPU cores available for build parallelism. Using 11 cores by default. You can override it with the -j or num_jobs arguments. xcrun: error: SDK "iphoneos" cannot be located xcrun: error: SDK "iphoneos" cannot be located xcrun: error: Failed to open property list '/Users/Hennas/Desktop/godot-ios-plugins/godot/iphoneos/SDKSettings.plist' xcrun: error: SDK "iphoneos" cannot be located xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos' ERROR: Failed to find SDK path while running 'xcrun --sdk iphoneos --show-sdk-path'. CalledProcessError: Command '['xcrun', '--sdk', 'iphoneos', '--show-sdk-path']' returned non-zero exit status 1.: File "/Users/Hennas/Desktop/godot-ios-plugins/godot/SConstruct", line 690: detect.configure(env) File "/Users/Hennas/Desktop/godot-ios-plugins/godot/./platform/ios/detect.py", line 114: detect_darwin_sdk_path(env["APPLE_PLATFORM"], env) File "methods.py", line 659: sdk_path = subprocess.check_output(["xcrun", "--sdk", sdk_name, "--show-sdk-path"]).strip().decode("utf-8") File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528: raise CalledProcessError(retcode, process.args, - Worked for 3s
  4. When running this, it's asking for a password!: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer xcode-select -p xcrun --sdk iphoneos --show-sdk-path - It didn't give the seconds, but it can't be more than a few seconds, because it responded quickly with this: That’s normal. sudo needs your Mac login password because it changes the system-wide Xcode command-line tools path.
RAW_BUFFERClick to expand / collapse

Environment:

  • Windows 10
  • Dell i7, 16GB RAM
  • Codex Desktop App version 26.406.20454
  • Model used: GPT-5.4 on High
  • On Plus plan from 14 April 2026

What happened:

  • First week was normal: Used the service intensively: No limits reached.
  • Second week: All limits depleted within 2 days, while I barely used the service.
  • This morning I started on a CLEAN 5-hour limit (before the end of the second weekly day). I only asked 4 EASY questions: (Side note: The 4 questions are Mac related, although Codex is running on Windows).

Detail of the 4 questions asked:

  1. command not found: scons - Worked for 14s
  2. scons: *** Invalid value for enum variable 'target': 'debug'. Valid values are: ['editor', 'template_release', 'template_debug'] File "/Users/Hennas/Desktop/godot-ios-plugins/godot/SConstruct", line 362, in <module> - Worked for 8s
  3. scons: Reading SConscript files ... Auto-detected 12 CPU cores available for build parallelism. Using 11 cores by default. You can override it with the -j or num_jobs arguments. xcrun: error: SDK "iphoneos" cannot be located xcrun: error: SDK "iphoneos" cannot be located xcrun: error: Failed to open property list '/Users/Hennas/Desktop/godot-ios-plugins/godot/iphoneos/SDKSettings.plist' xcrun: error: SDK "iphoneos" cannot be located xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos' ERROR: Failed to find SDK path while running 'xcrun --sdk iphoneos --show-sdk-path'. CalledProcessError: Command '['xcrun', '--sdk', 'iphoneos', '--show-sdk-path']' returned non-zero exit status 1.: File "/Users/Hennas/Desktop/godot-ios-plugins/godot/SConstruct", line 690: detect.configure(env) File "/Users/Hennas/Desktop/godot-ios-plugins/godot/./platform/ios/detect.py", line 114: detect_darwin_sdk_path(env["APPLE_PLATFORM"], env) File "methods.py", line 659: sdk_path = subprocess.check_output(["xcrun", "--sdk", sdk_name, "--show-sdk-path"]).strip().decode("utf-8") File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528: raise CalledProcessError(retcode, process.args, - Worked for 3s
  4. When running this, it's asking for a password!: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer xcode-select -p xcrun --sdk iphoneos --show-sdk-path - It didn't give the seconds, but it can't be more than a few seconds, because it responded quickly with this: That’s normal. sudo needs your Mac login password because it changes the system-wide Xcode command-line tools path.

When I asked another question, I got this response: Selected model is at capacity. Please try a different model.

  • Changing the model does not change my limits.
  • My 5h limit is at 99% after only these 4 questions!
  • And my Weekly limit is at 96% after doing a small amount of work the last day and a half.

Since this is clearly a BUG, please reset my limits ASAP!

extent analysis

TL;DR

The issue is likely due to the Codex Desktop App incorrectly counting the time spent on questions, leading to depleted limits, and a potential workaround is to contact support for limit reset.

Guidance

  • The user's limits are being depleted rapidly, despite minimal usage, suggesting an issue with the app's time-tracking mechanism.
  • The provided questions and their corresponding times do not seem to justify the 99% limit usage, implying a potential bug in the app.
  • The user has already tried changing the model, which did not resolve the issue, indicating that the problem lies with the limit tracking rather than the model itself.
  • Contacting support for a limit reset may be the most straightforward solution, given the apparent bug in the system.

Notes

The issue seems to be specific to the user's account and the Codex Desktop App's limit tracking mechanism. Without more information about the app's internal workings, it's difficult to provide a more detailed technical solution.

Recommendation

Apply workaround: Contact support for a limit reset, as the issue appears to be a bug in the app's limit tracking mechanism, and resetting the limits may be the quickest way to resolve the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Proof that there's a bug depleting all my limits! [1 comments, 2 participants]