Apple Mach-O linker Build Error
Build target
Project | Configuration Debug | Destination iPhone 6 | SDK Simulator
ld: file not found: ../Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphonesimulator..
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Solution:
1. Open Xcode
2. Show/Click the Project Navigator
3. Show PROJECT and TARGET list
4. From the TARGETS, click the AppNameTests
5. General->Testing->Host Application
6. Select/Choose the AppName from the Host Application dropdown box
Technology blog for personal research and diary. Short Notes, Quick Reference, scripts, source codes, commands, etc
Showing posts with label Apple. Show all posts
Showing posts with label Apple. Show all posts
Wednesday, January 14, 2015
Thursday, December 4, 2014
Before Giving Away or Selling, Clean / Wipe / Erase iPhone iPad Touch iOS 8)
1. Backup device
2. Sign out of iCloud
3. Erase iPhone's Content and Settings
- via iTunes' Back Up Now button
- via iPhone's Tap Settings > iCloud > Backup
2. Sign out of iCloud
- Tap Settings > iCloud
- Scroll down
- Sign Out
3. Erase iPhone's Content and Settings
- Tap Settings > General > Reset > Erase All Content and Settings
- If passcode enabled, Enter your passcode and Restrictions Passcode
- Tap Erase iPhone
- Tap Erase iPhone again to confirm
- If Find My Phone enabled, Enter Apple ID password
Thursday, October 30, 2014
Create OS X Yosemite USB drive Installer
1. Download OS X Yosemite from App Store. After download, make sure "Install OS X Yosemite.app" is in the /Applications directory.
2. Insert USB (at least 8GB). No need to clean or format. Installation will format this drive. Take note of the name of the drive via Finder (under devices) or type mount from Terminal and take note of the /Volumes/name_of_usb_drive
3. Open Terminal via Applications->Terminal
4. Type the following from the command line. Replace [name_of_usb_drive] with the name of the drive from #2.
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/[name_of_usb_drive] --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
5. You will see something like the following, follow instructions and/or let it finish.
"Erasing Disk: 0%... 10%... 20%... 30%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done."
6. Reboot. Press Option key during boot and choose Install OS X Yosemite drive upon boot.
2. Insert USB (at least 8GB). No need to clean or format. Installation will format this drive. Take note of the name of the drive via Finder (under devices) or type mount from Terminal and take note of the /Volumes/name_of_usb_drive
3. Open Terminal via Applications->Terminal
4. Type the following from the command line. Replace [name_of_usb_drive] with the name of the drive from #2.
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/[name_of_usb_drive] --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
5. You will see something like the following, follow instructions and/or let it finish.
"Erasing Disk: 0%... 10%... 20%... 30%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done."
6. Reboot. Press Option key during boot and choose Install OS X Yosemite drive upon boot.
Wednesday, September 3, 2014
Secure your iOS iCloud Account with 2 Factor Authentication
# Go to My Apple ID page via https://appleid.apple.com
# Select Manage your Apple ID
# Sign-in to you Manage your Apple ID
# Select Password and Security
# Answer your Security Questions and press Continue
# Manage Security Settings via clicking Get Started.. link
# Two-step verification page will be display then click Continue
# Click Get Started button
# Add your mobile phone to receive SMS and follow instructions
# Enter the code received from your Phone and click Verify button
# Print or print down Recovery key and keep it safe
# Enable two-step verification by checking "I understand the conditions above" and clicking the "Enable two-step Verification" button
# Select Manage your Apple ID
# Sign-in to you Manage your Apple ID
# Select Password and Security
# Answer your Security Questions and press Continue
# Manage Security Settings via clicking Get Started.. link
# Two-step verification page will be display then click Continue
# Click Get Started button
# Add your mobile phone to receive SMS and follow instructions
# Enter the code received from your Phone and click Verify button
# Print or print down Recovery key and keep it safe
# Enable two-step verification by checking "I understand the conditions above" and clicking the "Enable two-step Verification" button
Tuesday, July 1, 2014
Tuesday, May 27, 2014
OS X Open Terminal at current Folder shortcut
Open System Preferences -> Keyboard -> Shortcuts
Under Files and Folders, check New Terminal at Folder or New Terminal Tab at Folder
While at a folder, right-click, then Services, then New Terminal
Under Files and Folders, check New Terminal at Folder or New Terminal Tab at Folder
While at a folder, right-click, then Services, then New Terminal
Subscribe to:
Posts (Atom)


