Would you have any idea why this is happening to ME?
Post
Replies
Boosts
Views
Activity
There is a hack that allows someone to show a message on the login screen, and maybe he/she just put it there to scare the pants off of you.
Do an internet search for how to add a message to the login screen and get rid of it. Besides, if the NSA was monitoring you, why would they TELL you?
Dan Uff
This happens to me sometimes. What I do is:
Quit Xcode.
Reload Xcode and the project.
If it happens again, do 1 and 2 above, reboot the computer, and try again.
Hope this helps,
Dan Uff
Yes, I do all the time and there are some awesome ones. Here's a good start: https://github.com/public-apis/public-apis
Dan
This happens to me quite often. Here's what I do:
Shut down Xcode.
Unplug iOS device from computer.
Reboot.
Plug iOS device back in.
Start Xcode.
Clean project.
Try again.
If it still doesn't work, do the above again, BUT also reboot the iOS device.
Hi,
The image above looks too much like an iPhone. You'll have to change the image.
I am having the same problem ever since updating Xcode yesterday. Here's my diagnostics screen:
----------------------------------------
CompileDylibError: Failed to build ContentView.swift
Compiling failed: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/lib/swift/shims/Visibility.h' has been modified since the module file '/var/folders/jt/s96c8fv518s_1y_6925ml4sc0000gn/C/clang/ModuleCache/108X1IN8WGNX1/SwiftShims-2TTN5UXQBRCCQ.pcm' was built: mtime changed
<unknown>:0: error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/lib/swift/shims/Visibility.h' has been modified since the module file '/var/folders/jt/s96c8fv518s_1y_6925ml4sc0000gn/C/clang/ModuleCache/108X1IN8WGNX1/SwiftShims-2TTN5UXQBRCCQ.pcm' was built: mtime changed
<unknown>:0: note: please rebuild precompiled header '/var/folders/jt/s96c8fv518s_1y_6925ml4sc0000gn/C/clang/ModuleCache/108X1IN8WGNX1/SwiftShims-2TTN5UXQBRCCQ.pcm'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "LibcOverlayShims.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h:21:2: error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/lib/swift/shims/Visibility.h' has been modified since the module file '/var/folders/jt/s96c8fv518s_1y_6925ml4sc0000gn/C/clang/ModuleCache/108X1IN8WGNX1/SwiftShims-2TTN5UXQBRCCQ.pcm' was built: mtime changed
#include "Visibility.h"
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h:21:2: note: please rebuild precompiled header '/var/folders/jt/s96c8fv518s_1y_6925ml4sc0000gn/C/clang/ModuleCache/108X1IN8WGNX1/SwiftShims-2TTN5UXQBRCCQ.pcm'
#include "Visibility.h"
^
<unknown>:0: error: missing required module 'SwiftOverlayShims'
==================================
| BuildInvocationError
|
| /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -F /Applications/Xcode.app/Contents/SharedFrameworks-iphonesimulator -enforce-exclusivity=checked -DDEBUG -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -target arm64-apple-ios14.0-simulator -Xfrontend -serialize-debugging-options -enable-testing -swift-version 5 -I /Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Products/Debug-iphonesimulator -F /Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Products/Debug-iphonesimulator -c -j8 -serialize-diagnostics -Xcc -I/Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/CAI-generated-files.hmap -Xcc -I/Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/CAI-own-target-headers.hmap -Xcc -I/Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/CAI-all-target-headers.hmap -Xcc -iquote -Xcc /Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/CAI-project-headers.hmap -Xcc -I/Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Products/Debug-iphonesimulator/include -Xcc -I/Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/DerivedSources-normal/arm64 -Xcc -I/Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/DerivedSources/arm64 -Xcc -I/Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/DerivedSources -Xcc -DDEBUG=1 -working-directory "/Users/danuff/Documents/CPS/iOS/iOS 15/Projects (Current)/iPhone : iPad/SwiftUI/General/CAI" /Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/Objects-normal/arm64/ContentView.1.preview-thunk.swift -o /Users/danuff/Library/Developer/Xcode/DerivedData/CAI-fpvdurwckhlgpoczgdolkzdvwcyr/Build/Intermediates.noindex/Previews/CAI/Intermediates.noindex/CAI.build/Debug-iphonesimulator/CAI.build/Objects-normal/arm64/ContentView.1.preview-thunk.o -module-name CAI_PreviewReplacement_ContentView_1 -Onone -Xfrontend -disable-modules-validate-system-headers -gline-tables-only
Yes, this is a common situation for me too. I reported it during the beta and the GM. I submitted error reports, and I still have problems. The problem happens when entering code. It just stops and hangs until I terminate Xcode via the Terminal and restart it at least 5 times a week (maybe more). It happens with Swift 5 and SwiftUI.
Its annoying and inexcusable.
Here's my setup:
2020 M1 Mac mini.
16GB RAM.
MacOS 12.0.1
Xcode Version 13.1 (13A1030d).
So YOU'RE NOT THE ONLY ONE and hope they get this resolved sooner rather than later.
Thank you, and it’s nice to know I’m not the only one who’s seeking an answer.
I did. He said that he didn’t know either.
This problem is NOT fixed. Using Xcode version 13.0 (13A233). Now it doesn't see my new iPhone 13 Pro Max all the time. When it does, the above problem exists. I even let it on for an hour and still have the same problem. Need to test a few apps on a device but can't!
I have been having the same issue, and have the exact same configuration as you. I've reported the issue to apple and had a message on here without any response from both.
Please let me know if you find an answer to this ANNOYING problem.
Dan Uff
You may want to look into adding the content in to a JSON file that would be on the website, and then use the json decoding commands to update any content that the website may or may not have inside your app.
For an idea of what I mean. go on YouTube here: https://www.youtube.com/results?search_query=json+decoding+swift
Dan Uff
Anybody????
I've been getting this A LOT with Xcode 12 & 13. Just wait until the message goes away when you try and run your app on a device. It may take seconds or minutes, but it will eventually go away and allow the app to run.
Dan