Posts

Xcode : deny(1) - file-write-data

  Update the Sandboxing Option: Navigate to Targets -> Project -> Build Settings -> Choose (All and Combined) -> User Script Sandboxing. Change the option from "Yes" to "No". OR  Search 'ENABLE_USER_SCRIPT_SANDBOXING'

Ionic : Live Reload

Image
  Open Xcode On menu Xcode > Open Developer Tool > Simulator Open terminal (on project) Run ionic cap run ios -l --external

Xcode : DT_TOOLCHAIN_DIR

  In Xcode 15 Apple changed the variable which points to the default toolchain location to $TOOLCHAIN_DIR from $DT_TOOLCHAIN_DIR. If some project/target used $DT_TOOLCHAIN_DIR then it need to be replace by $TOOLCHAIN_DIR. brew command brew upgrade cocoapods without brew sudo gem install cocoapods

Setup Application on RunCloud

  Pilih server untuk masuk kan application Add system user - Set username and password(auto generate) Add database - Set username and password(auto generate) - Pass copy dulu sebab nk pakai nk set dekat env - Kene letak tarikh dekat belakang nama db as hash (security) Pergi web application - Add deploy web app - Pilih gitlab - Pilih web application yang dan create sebagai root folder - Domain - untuk point kan server - Set nama repo - Set branch main - Generate key dari runcloud - Buka gitlab setting > repository > deploy key - Deploy Setup SSL Setup Git (Auto Deploy) - Amik webhook dari runcould - Paste dalam setting > webhooks - Add deployment script

Setup Macbook 101

 1. Download VSCODE. - VSCode is one of the best code editor right now because it can add extension for those who want to make more easier and it have a Git integration. 2. Download Homebrew -  Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple's operating system, macOS, as well as Linux. The name is intended to suggest the idea of building software on the Mac depending on the user's taste