Comments (6)
The solution was much easier than I imagined, so I’d like to share it. I’m still interested in where best to ask questions about your development approach and how you solved obstacles along the way… But I’ll close this out to not clutter the Issues list.
Simply close all the tabs in the Xcode session. Then select the file you were trying to view. and tap “Try Again”. Magic!
from isowords.
Hmmm. It seems I didn't get very far after posting this. I'm not used to this ultra modularity you are so familiar with. I'm not hating it... But am still wrapping my head around it.
I want to view the preview found in GameNavView.swift using the Simulator set to iPhone 8
I switch to scheme GameCore (I see it in the file hierarchy).
"Try Again" produces "no such module DictionarySqliteClient"
I see a total of 4 imports: (no direct mention of an import of DictionarySqliteClient)
import ComposableArchitecture
import Styleguide
import SwiftUI
and inside an #IF DEBUG
import Overture
So I change the scheme to DictionarySqliteClient and build:
Preview provider "Game Nav View Previews" must belong to at least one target in the current scheme in order to use previews.
So back to GameCore, rebuild and hit Try Again:
No dice. "no such module DictionarySqliteClient" again....
Set scheme to isowords (the main scheme)
It can't find GameCore, so I build that but that doesn't work.
"no such module DictionarySqliteClient" again....
How do I preview GameNavView_Previews
in GameNavView.swift
?
from isowords.
@Mozahler Xcode previews can definitely be a bit flakey, but I was able to switch the scheme to GameCore and view that preview just fine, even after cleaning the build folder. Have you tried all the regular Xcode incantations?
- Clean build
- Delete derived data
- Build target before building preview
- Restart Xcode
- Restart computer 😬
- etc.?
from isowords.
Also, have you fully bootstrapped the application per the README? make bootstrap
prepares some resources for targets like DictionarySqliteClient
.
from isowords.
Yes. I performed the make bootstrap. In fact, I'm pretty far along in making a self-playing version... It's averaging around a 4500 score. I'm trying to figure out how to make it "play" -- tap out the letters using the nub until the lookaheads list is empty and then tapping "end game" (right now it just provides a sorted descending list of highest scoring words - you have to manually tap the words in). The list refreshes only when cubes are removed.
Perhaps the pieces I need are in the app clip portion of the project. Eventually, I'd like it to be able to play the entire game itself.
isowordsB.mp4
Love to hear any feedback.
Thanks
btw: I had issues with Appclip when I originally cloned the project, so I just now tried to reinstall everything from scratch. But still can't get the bundle id right - I've replaced your bundle strings with mine everywhere I can find a reference but still get - "This app ID does not include the parent app ID". I can't get the Appclip to compile.
from isowords.
Solved my app clip problem. The string in AppClip.entitlements was incorrect. (the indexing wasn't up to date so it wasn't showing up in my search as an issue)
My issues are solved, so I'm closing this. But still like to hear feedback. I'm learning so much about Swift and Architecture working with this code base. Kudos to both of you once again!
from isowords.
Related Issues (20)
- `make bootstrap-client` fails (words/SQL issue?) HOT 2
- make bootstrap-client does not fetch image assets HOT 10
- Cube is incorrectly sized after rotation on iPad HOT 1
- Various layout issues when iPad app is in compact width
- Will the `OptionalPaths.swift` be moved to the `CasePaths` package? HOT 1
- No file prompt when creating new files in the `isowords` local package HOT 1
- isowords is running audio and using battery even when the isowords audio settings have turned audio off. HOT 2
- Android? HOT 1
- Mostly Empty Project HOT 2
- Settings.Action.binding actions are not being handled as expected HOT 3
- `isowords` app target missing HOT 1
- Change my user name? HOT 2
- Gh
- Dr
- Daily Challenge Unlimited button doesn't fade when ending a game immediately HOT 2
- Text truncation issues for onboarding screens with Accessibility text sizes HOT 1
- Mimicking the modular structure of this app HOT 2
- Can't set a custom icon on iPad HOT 1
- [Feature] - Time limit for multiplayer mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isowords.