-
Notifications
You must be signed in to change notification settings - Fork 85
iOS development hints&tips
Wiktor Sieprawski edited this page Jan 13, 2023
·
8 revisions
Really handy thing is to run an app without re-building it first.
Simply use command + control + R
, or go Product -> Perform action -> Run without build
.
Sometimes you may want to edit files directly in build folder to immediately see the result, without having to wait for a build to finish.
You can locate them at /Users/apple/Library/Developer/Xcode/DerivedData/Quiet-BUILD_HASH/Build/Products/Debug-iphoneos/Quiet.app
.
Create a new Xcode project choosing "framework" type. Then to build a .framework, run following commands
xcodebuild archive \
-project FRAMEWORK_NAME.xcodeproj \
-scheme FRAMEWORK_NAME \
-destination generic/platform=iOS \
-archivePath "archives/FRAMEWORK_NAME" \
SKIP_INSTALL=NO \
then
cp -r archives/FRAMEWORK_NAME.xcarchive/Products/Library/Frameworks/. archives/ios