Post

Replies

Boosts

Views

Activity

Reply to website to automatically sync to iOS app
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
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’21
Reply to Is your Xcode13 stuck?
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.
Dec ’21
Reply to Xcode 13.2.1 (13C100) Preview Not Working but Simulator Works!
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
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’22
Reply to How to replace existing app?
All I did was, make the new app and used the same Bundle Identifier inside the new app. I then made a pop-up (that would only come up once) explaining the new (designed) app. Less confusion for the end user. Which, in my experience, they don't take too likely when they have to download another app and re-pay for some of the same functionality. Dan Uff
Apr ’22