Closed brunolemos closed 6 years ago
try this:
[NSAppearance setCurrentAppearance:[NSApp mainWindow].effectiveAppearance];
@iHongRen thanks, that fixed the xcode build error 🎉
Then, I got this: bundling failed: ReferenceError: Unknown plugin "module-resolver" specified
Installing babel-plugin-module-resolver
fixed it and the app worked!
Do you plan making a PR?
fixed in the latest version
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment: OS: macOS Sierra 10.14 Beta Node: 10.7.0 Yarn: 1.7.0 npm: 6.2.0 Watchman: 4.90 Xcode: Xcode 9.4.1 and 10 Android Studio: 3.1
Packages: (wanted => installed) "react": "16.2.0", "react-native-macos": "0.18.0-alpha.6"
Target Platform: macOS (10.4)
Steps to Reproduce
Build failed when starting a new project from scratch.
react-native-macos init projectname
cd projectname
react-native-macos run-macos
Expected Behavior
Build successfully and open app
Actual Behavior
** BUILD FAILED **
Reproducible Demo
It's a new project without any modification.