# Blank Screen Building Example Project for iOS

**URL:** <https://forum.ionicframework.com/t/blank-screen-building-example-project-for-ios/225109>\
**Category:** Ionic Framework\
**Created:** [July 17, 2022, 3:48am UTC](https://forum.ionicframework.com/t/blank-screen-building-example-project-for-ios/225109 "2022-07-17T03:48:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saschapfeiffer](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@saschapfeiffer](https://forum.ionicframework.com/u/saschapfeiffer)\
**Post date:** [July 17, 2022, 3:48am UTC](https://forum.ionicframework.com/t/blank-screen-building-example-project-for-ios/225109/1 "2022-07-17T03:48:11Z")

</div>

I just created the basic project from the ionic website (with template menu and react) via the wizard. I did not change anything besides the name in the ionic.config.json later as I got error with Xcode otherwise. It builds without problems as web app and can be displayed via my localhost. However, when I do

ionic capacitor add ios  
ionic capacitor copy ios  
ionic capacitor open ios

and build the project via Xcode for my iPhone 8 with iOS 15.5, the app loads but has blank white screen.

ionic.config.json:  
{  
“name”: “IONIC”,  
“integrations”: {  
“capacitor”: {}  
},  
“type”: “react”  
}

In Xcode I get the following error.

**2022-07-17 05:27:13.604499+0200 App[673:5169491] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users//Library/Developer/CoreSimulator/Devices/EF9C2CCE-B1EA-47FD-93DE-122B0E16E18B/data/Containers/Data/Application/9E2355C2-D4D2-44EE-8226-414B24AD1E5A/Library/Cookies/io.ionic.starter.spf1217.binarycookies**

**2022-07-17 05:27:13.759518+0200 App[673:5169491] [ViewportSizing] maximumViewportInset cannot be larger than frame**

**2022-07-17 05:27:13.759563+0200 App[673:5169491] [ViewportSizing] minimumViewportInset cannot be larger than frame**

**2022-07-17 05:27:13.788571+0200 App[673:5169491] KeyboardPlugin: resize mode - native**

**⚡ Loading app at capacitor://localhost…**

**⚡ [error] - {}**

**⚡ ------ STARTUP JS ERROR ------**

**⚡ ReferenceError: Can’t find variable: React**

**⚡ URL: capacitor://localhost/static/js/9.21ff158f.chunk.js**

**⚡ [error] - {}**

**⚡ 9.21ff158f.chunk.js:1:923533**

**⚡ See above for help with debugging blank-screen issues**

**⚡ WebView loaded**

dyld4 config: DYLD\_ROOT\_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD\_LIBRARY\_PATH=/Users//Library/Developer/Xcode/DerivedData/App-cwzasapgjfdqhqejouvvuxhixchz/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD\_INSERT\_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD\_FRAMEWORK\_PATH=/Users/saschapfeiffer/Library/Developer/Xcode/DerivedData/App-cwzasapgjfdqhqejouvvuxhixchz/Build/Products/Debug-iphonesimulator

CoreSimulator 802.6.1 - Device: iPhone 8 (EF9C2CCE-B1EA-47FD-93DE-122B0E16E18B) - Runtime: iOS 15.5 (19F70) - DeviceType: iPhone 8

**(lldb)**
