Hey, when I try to run my project on an iOS Simulator, I get the following message:
JournalingSuggestions is not available when building for iOS Simulator.
and
Linker command failed with exit code 1 (use -v to see invocation)
Steps to reproduce this behavior:
- Create a new Xcode project
- Add the Journaling Suggestions Capability
- Add the Journaling Suggestions Framework
- Under "Target > Build Phases > Link Binary with Libraries", select “optional“ for JournalingSuggestions.framework
- Under "Target > Build Settings > Other Linker Flags > Debug" select „Plus“ and add „iOS or iOS Simulator“ and paste this
-Xlinker -weak_framework -Xlinker JournalingSuggestions
into the editable field. - Do the same for "Target > Build Settings > Other Linker Flags > Release"
This tread is about the same problem, but is already checked as answered. That's why I'm creating this new tread.
The last two bullet points are results from advice from the other thread.
MacBook Air, M1, 2020, macOS: 14.6.1, Xcode: 16.0
Thanks for your help!
The process described in that other thread continues to work for me. Please review my latest update on that thread.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"