Comments (5)
Btw, after it fails the first time, I get this other error if I try to run the command yarn run ios
again
➜ skolplattformen git:(main) ✗ yarn run ios
yarn run v1.22.19
$ nx run-ios
> nx run skolplattformen-app:run-ios
ENOTDIR: not a directory, rmdir '/Users/sergio/dev/skolplattformen/apps/skolplattformen-app/node_modules'
———————————————————————————————————————————————
> NX ERROR Running target "skolplattformen-app:run-ios" failed
Failed tasks:
- skolplattformen-app:run-ios
Hint: run the command with --verbose for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Is there another command I should be running?
from skolplattformen.
Hi, I'm not very good at all the differences with the tooling, but we are building with Node 16.19.1 and Xcode 14.1.
I guess the problem may be there.
from skolplattformen.
@kajetan-kazimierczak Thanks for the reply! Are you running macOS? And if so, have you updated to Sonoma? I'm asking because I tried to downgrade to Xcode 14.3.1 but the new operating system won't allow me to execute it due to incompatibilities
from skolplattformen.
I finally managed to get it up and running.
For anyone looking for answer (or my future self suffering from amnesia), these are the steps I followed:
- Downgraded to Node 16 as previously suggested using NVM.
- Followed the setup instructions on README.md :
yarn && yarn run ios
- The first error I encountered related to
Yoga.cpp
was fixed by following this suggestion - For the second error, related to
unary_function
I followed this tip
After that, I managed to successfully build the app but it wouldn't open the simulator after executing yarn run ios
due to this other error:
success Successfully built the app
2023-11-03 13:50:54.337 xcodebuild[22691:2760548] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
info Installing "/Users/sergio/Library/Developer/Xcode/DerivedData/app-fzhernkxeiuybtcnzuuzrfpckcgv/Build/Products/Debug-iphonesimulator/app.app"
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
To open the simulator
- I went to XCode (v15.0.1 btw)
- opened the file
skolplattformen/apps/skolplattformen-app/ios/app.xcworkspace
(btw, this is the first time I'm using XCode or even attempting to develop a mobile app) - and, chose from the XCode's menu Product > Destination > iPhone SE (or whichever is available)
I noticed the script running in the terminal listened to the changes coming from XCode and also from the Visual Code editor. So I confirmed everything was working by updating a string in the app and seeing the change reflected in the simulator
from skolplattformen.
Thanks for the info.
from skolplattformen.
Related Issues (20)
- Hjärntorget - Some messages shows on all children HOT 1
- Pushnotiser HOT 5
- Koppla bounty-system, t ex Dework
- Trasig GitHub-länk i Frågor och svar
- "Spara till kalender" som inte är Googles kalenderapp? HOT 1
- Besvara lovschema HOT 1
- Spara skolschema i Outlook-kalendern HOT 2
- Tillfällig ändring vistelsetid (förskola)
- Frånvaroanmälan Skolplattformen: skickar barnets personnummer i ett sms till okänt nummer HOT 1
- Utökad matchning av lärarnas namn i schemat HOT 1
- Kopiera alla mailadresser till klassen eller mailikon för att skapa nytt mail till alla
- Tillgänghet: Förkorta namn till initialer om det är för långt för att få plats HOT 1
- Have to launch twice on Android HOT 2
- Visa också morgondagens lunch HOT 1
- Appen är gratis!
- Idé: Paketera api:t som docker image? HOT 2
- apk för oss som inte kör google
- Prov för ett barn visas för alla barn HOT 4
- [suggestion] Have you considered building a web version of this app? HOT 2
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 skolplattformen.