hi i write this post because when i try to build my ionic / cordova project with command cordova build ios i get this error tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance After search differente fix i found this that for for me: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Use this CocoaPods guide to learn how to install and manage third-party library dependencies in your Swift projects.
With the release of iOS 7, Apple introduced a text to speech API that allows developers to add text to speech functionality to an application in a quick and easy way. This can be useful when adding an accessibility layer to an application or to include it as a feature in a learning game. In […]
If while try to submit your application to appstore your XCode stuck at “Authenticating with the iTunes Store” try this trick, it fixed it for me. Open Terminal and run: – go to your home with this command cd ~ – rename itmstransporter folder with this mv .itmstransporter/ .old_itmstransporter/ – and finally run this command […]
Basically the scroll animation on an Android TextView with horizontally automatic scroll (ellipsize marquee) is reset every time something changes in the layout in which they are placed on the text folder (MATCH_PARENT or WRAP_CONTENT). To prevent the reset does not happen you can specify fixed size or take out the TextView from layout where […]
By following this guide, you’ll be able to implement push notifications in your iOS app and send notifications from Node.js, using the latest technologies and without pain! Send Push Notifications to iOS Devices using Xcode 8 and Swift 3 Push notifications are a great way to ensure your users re-engage with your app every once […]
Apple made a radical decision with iOS 9, disabling all unsecured HTTP traffic from iOS apps, as a part of App Transport Security. This helps in enforcing security best practices, but if you want to load external content, like arbitrary links, you have to add this value to your app info.plist: key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
XCode – “The resource could not be loaded because the App Transport Security policy requires the use of a secure connection”
Make this change to info.plist: Opened my Projects info.plist file Added a Key called NSAppTransportSecurity as a Dictionary. Added a Subkey called NSAllowsArbitraryLoads as Boolean and set its value to YES as like following image. This is all.
# ============================================================== # 10.9. Make an ISO from the Install.app # ============================================================== # Mount the installer image hdiutil attach /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app # Convert the boot image to a sparse bundle hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Mavericks # Increase the sparse bundle capacity to 8GB to accommodate the packages […]
Here git of Asynchronous image downloader with cache support with an UIImageView category. This library provides a category for UIImageVIew with support for remote images coming from the web. It provides: An UIImageView category adding web image and cache management to the Cocoa Touch framework An asynchronous image downloader An asynchronous memory + disk image caching […]