Xcode


Screenshot:
Git:
$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
  1. Copy a project and change the project name
  2. App icons
  3. Use Icon Set Generator (Download from the App store).
  4. Change App name
  5. "Property 'setRegion' not found on object of type 'MKMapView *'
  6. NG: self.mapView.setRegion(viewRegion, animated: false);
    OK: [self.mapView setRegion: viewRegion, animated: NO];
  7. "1 duplicate symbol for architecture arm64" (20230924)
  8. This is a typical error that appears during linkage due to multiple files exporting the same symbols. e.g. in my case I had a viriable "FIRST" from two different classes; FirstViewController.m and FourthViewController.m.
  9. How to add a view controller to a tab bar controller in the storyboard
    1. Add a view controller.
    2. click tab bar contrller and drag to the new view controller.
    3. choose view controller.
  10. Show the object library on the storyboard or interface builder:
    menu -> view -> object library.
  11. xcode 14.0 does not support ios15.7:
    1. Download the device support from https://github.com/JinjunHan/iOSDeviceSupport
    2. Put it in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/.
    3. Exit and run Xcode again.

Go back to Computer

Since 20230917