iOS 10 / Xcode 8 - localizedChangeDescription

I'm launching the demo shown at WWDC2016 IceCreamBuilder

The apple code example includes the following in the extension of MessagesViewController

conversation. Insert (message, localizedChangeDescription: changeDescription) {error in}

If leave error = error}

Print (Error)

}

}

However - it produces a compiler error:

Ambiguous reference to the Member "insert(_:completionHandler:))". »

When I use the AutoComplete on the insert function - I can see the following

conversation. Insert (message: MSMessage, completionHandler:((NSError?)-> vacuum)?)

conversation. Insert (tile: MSSticker, completionHandler: ((NSError?)-> empty)?)

where localizedChangeDescription is NOT a parameter

Does anyone have this working?

Note: By clicking on through the documentation gives a description that includes localizedChangeDescription as a parameter

func insert(_ message: MSMessage, localizedChangeDescription changeDescription: String?, completionHandler: ((NSError?) -> Void)? = nil)

You must specify the first parameter label now.

Tags: iOS Developer

Similar Questions

  • Basic application deploys Oracle MAF (Mobile Application Framework) not in iOS emulator

    Hello


    I tried to create and deploy an application of MAF in iOS with xCode emulator 7.


    This is the main application and have only a single Local HTML according to the oracle of the MAF iOS emulator deployment documentation.


    But it is giving following error and failed to deploy.


    [14: 15:45] copy of security related files at the request of the MAF...

    [14: 15:45] run command-line path: / users/Monachino/jdeveloper/mywork/MyApplication/deploy/iOS2/temporary_xcode_project /.

    [14: 15:45] run command line: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild own installation - configuration Debug - sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk DSTROOT = / users/Monachino/jdeveloper/mywork/MyApplication/deploy/iOS2/Destination_Root/IPHONEOS_DEPLOYMENT_TARGET = 6,0 TARGETED_DEVICE_FAMILY = 1, 2 PRODUCT_NAME = MyApplication ADD_SETTINGS_BUNDLE = NO

    [14: 16:06] orders for next generation failed:

    [14: 16:06] command-line execution failed (return code: 65)

    [14: 16:06] undeployment.

    [14: 16:06] - incomplete deployment.

    [14: 16:06] could not build the iOS application pack.

    [14: 16:06] deployment failed due to one or more errors returned by ' / Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild'.  What follows is a summary of the returned error:

    Command-line execution failed (return code: 65)


    Orders for next generation failed:

    LD /Users/surajit/jdeveloper/mywork/MyApplication/deploy/iOS2/Destination_Root/Applications/MyApplication.app/MyApplication normal i386

    (1 failure)

    The same application works very well with Android and I work with JDeveloper 12.3


    Need help to solve. I've been stuck for two days already.


    Another point, when I work with the mobile app (ie the older version of MAF) ADF is the deployment and work successfully.

    Thank you

    Ajoy Sinha


    You use Xcode 5.1.1 to deploy applications of MAF now.

  • Single edition and p12 certificate

    Two questions:

    1 - edition has simple will help I need only the number of series (simple editing Adobe number) to publish to the app store? I've been finding conflicting information, saying: Yes, it is available on the Adobe website and then another source saying that I need professional or company making the Viewer 'public' rather than 'private '. It seems with the simple edition that I have that the "private" option available.

    2. I'm building the app for a University. In order to sign the app distribution, I downloaded the file distribution of developer ios of the University site mobileprovision. I can't create a p12 certificate using the certificate of distribution of the University on my computer.

    I found this Web page describing how to transfer it, in my opinion, I need: export your signature and placed on active service from a Mac and import them to another.

    http://developer.Apple.com/library/iOS/#documentation/Xcode/conceptual/ios_development_wor kflow/10-Configuring_Development_and_Distribution_Assets/identities_and_devices.html#//app le_ref/doc/uid/TP40007959-CH4-SW8

    After my University contact sent me their certificate p12, I get the following error message "unable to find expected label ' iPhone Distribution:' in this certificate."

    Can you tell me how to solve these two issues?



    1. in publishing simple workflow, you do not have an option to post as a Public, publish as private, you must export the Folio and then import it into the generator of spectator while strengthening the use approx. serial number to activate your version by download.

    Read the following link to learn more about the workflow:

    http://help.Adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f6032817afa1337a03d59b-7F ff.html

    2. read the iPad edition guide to create required certificates (attached). It is best if you complete the whole process of certificate on a Mac using keychain Access to avoid complications. When creating certificates, sure to uncheck enable to iCloud. I recommend to have channelled the guide in detail and follow the step by step process as mentioned in the guide.

  • 'AIR App' could not be installed via iTune sync with Flash Builder 4.6

    Hi all

    After download and installation of Flash Builder 4.6 installation fees, I begin to create a simple Mobile project and run as fast build configuration.

    I got an IPA file, so I added my iPad to iTune, connected and synchronize the app.

    Surprisingly, after synchronization is complete, iPad shows a pop up: "App name" could not be installed. This also happens with the iPod touch too.

    IMG-20111201-00244.jpg

    I use:

    • Mac OS X Lion 10.7.2
    • latest version of XCode.
    • file of certification and supply of iOS which can be used in a preliminary version of 4.6 and 4.5.1

    I must tell you that I do not have something special in my project, just one button, a list and photo.

    Could you help me solve this problem? It could be a bug or might happen to another.

    Just resolved.

    I found the way to solve this problem is to create new file certificate and mobile delivery of iOS developers portal and the re - install in iTune app.

    I'm not sure on the origin of the problem, but I suspect the XCode and iTunes update. I've updated between them 4.6 FB pre-release version and full version.

    FYI, I found all my AIR application which built with 4.6 pre-release does not settle in the iOS via XCode device too.

  • How to: free account developer to test your own iOS on iPhone application using Xcode 7.2.1

    The free Xcode 7.2.1 iOS Developer membership feature I'm trying, I have installed xcode 7.2.1 and tried to test self written objective c code on my own in iPhone 5 s ios9.0.2.

    The sequence of error occurs as follows:

    (1) no signing identity valid (certificate and private key pair) have been found.

    Xcode can try to solve this problem. This will reset your signature code and parameters of provisioning of recommended values and solve problems with the signature of the identities and provisioning profiles.

    I clicked on the button "deal" and

    2) clicked "ADD" an APPLE ID account 'sign using the Apple ID ". I sign in using exist before APPLE ID.

    (3) the error said: an unexpected error has occurred. Please try again.  If the problem persists, contact the support of the Apple Developer program. https://developer.Apple.com/support

    No signature found identity code: no valid signature identity (certificate and private key pair) have been found.

    (4) I repeat the above steps, but mistakes persist.

    After failed attempts, I tried the steps of Xcode 7.2.1 still 3 days later using Apple ID sign. I could create IOS developer cert for free using Xcode > Preferences > ADD apple ID.

    I was able to compile the code and to load an app on my own device. Here are a few observations try this developer account "Apple ID sign" free:

    (1) the need to activate the WiFi on my a device and connect to a network to check your application before can run the application. Cannot run app offline.

    (2) there is no debugging, stepping in/out plus. Only can run application without debugging.

    Does anyone have any other comments?

  • Error after upgrade to iOS 9, code of return and Xcode 7: 65

    Hello

    I could deploy applications on iPhone before updating to 7 Xcode and iOS9 (automatically).

    I use Jdeveloper 12.1.3.

    Now, I get the error:

    [19: 02:19] run command line: xcodebuild-window Oracle_ADFmc_Container_Template archive archivePath - /Users/user/jdeveloper/mywork/ProductList/deploy/iOS2iTunes2iPhone/Destination_Root/ProductList.xcarchive - sdk iphoneos IPHONEOS_DEPLOYMENT_TARGET = 7.0 TARGETED_DEVICE_FAMILY = 1 ADD_SETTINGS_BUNDLE = No. PRODUCT_NAME = ProductList CODE_SIGN_IDENTITY = iPhone Developer: name V (12345XYZ)

    [19: 02:41] orders for next generation failed:

    [19: 02:41] command-line execution failed (return code: 65)

    [19: 02:41] undeployment.

    [19: 02:41] - incomplete deployment.

    [19: 02:41] could not build the iOS application pack.

    [19: 02:41] deployment failed due to one or more errors returned by 'xcodebuild.  What follows is a summary of the returned error:

    Command-line execution failed (return code: 65)

    Orders for next generation failed:

    Ld /Users/user/Library/Developer/Xcode/DerivedData/Oracle_ADFmc_Container_Template-gwxjznarmoyczadsnbxmvfmebqni/ArchiveIntermediates/Oracle_ADFmc_Container_Template/IntermediateBuildFilesPath/Oracle_ADFmc_Container_Template.build/Release-iphoneos/Oracle_ADFmc_Container_Template.build/Objects-normal/armv7/ProductList normal armv7

    (1 failure)

    And in fact the ProductList file is missing in this way!

    What could be the reason?

    Someone at - it experience with deploying applications after upgrading to Xcode 7?

    Thanks for your help!

    Klemens

    Hello.

    XCode 7 don't is not supported with MAF for now. Our goal is to support in our next major release.

    Just rename your current installation of XCode to something else (XCode 7 would be nice), then download and install XCode Developer Center 6 Apple. You MAF should run without any problem on iOS 9 anyway.

    Best regards

    Frédéric Desbiens

    Senior Product Manager

    Mobility and Cloud oracle

    Twitter: @BlueberryCoder

    blog: http://blogs.oracle.com/blueberry

  • Reading connects XCode when developing a DONKEY iOS

    Hello

    I'm developing a library iOS XCode 6.2 with Intellij for air Code.

    I can debug easily with Intellij, but I would like to read newspapers with NSLog iOS. Stop on breakpoints would be even better.

    Right now I connect XCode with Debug-> attach to process and it seems to work, but it does not stop on breakpoints, or read the newspapers.

    In Android was easy, Catlog app works great. iOS does not appear to have something similar.

    Any ideas?

    Thank you!

    Here's my window of device:

    If the side of the console is not displayed at the bottom, click on the down arrow at the right to show it.  In my view, it is collapsed by default, I had trouble he find when I used Xcode.

  • Flash-Air-App iOS and new Apple App Store (XCode 5)

    Hi Forum,

    I use Flash CC for the development of an iOS App (AIR).

    Now, will soon update Apple iOS to 7.1 and Apple says that, as of February 1, 2014, you can only publish iOS Apps created in XCode 5 in the App Store.
    Or how I have to read this statement from Apple: "From February 1, new applications and app submitted to App Store updates must be generated with Xcode 5 and iOS SDK 7."

    How will this affect my project?

    It will always be possible to publish a FLash-Air-iOS-App via App Store?

    Thanks in advance

    Ralf Kopp

    Adobe fixed this internally. Just update your adobe air sdk to the latest from labs.adobe.com

  • How to use xcode on windows

    Hello

    IAM currently has a grade 11 student. I know the fast programming language and I'm interested in developing an ios app, but the problem is xcode works only on the computer mac laptop. I can't afford it. IAM having mac and poor financial history is too expensive for me. I managed to buy a computer windows laptop second hand.   is it possible to xcode on the computer windows laptop. my windows laptop do not real operating system support.

    humbly, I would ask you all, please find me medium. while I can develop an app.

    Install Xcode on Windows

    You can go there.

  • Xcode is based, but does not work

    Hi people,

    I have a problem with Xcode

    When I try to launch a project, it generates correctly and then just says "running < name >: < name >»

    Some time previously, I have worked on some projects of iOS and at the time, everything worked fine.

    Not even that, they run more.

    I don't know why it stopped working in the simulator of the app is just a white screen.

    Mac OS projects with cocoa does not even launch the built application. Console applications do not work or the other.

    I had this behavior with XCode 7, then tried the beta version 8, which also had the problem.

    This morning, I decided to uninstall XCode and reinstalled version 8 of XCode from the App Store.

    The problem persists there.

    IM under OSX 10.11.6 and Xcode Version 8.0 (8A218a).

    Please help me, I'm getting desperate. I can't develop this way.

    Best regards

    Alex

    I would check to see if there is a modal dialog box, asking you to authenticate before running your application:

    If you don't authenticate you request probably will not work

  • iPhone not recognized (no device found) in iTunes and Xcode

    Data sheet:

    1. MacBook Pro (13 inch, late 2011)
    2. OS X El Capitan (Version 10.11.4)
    3. iTunes (12.3.3.17)
    4. Xcode (Version 7.1.1)
    5. iPhone 4S (iOS 9.3.1)

    Problem statement:

    1. My iPhone doesn't appear in iTunes or Xcode whenever I have it plug it into my mac directly via the usb cable. The Photos app connects and clearly shows that the list of my iPhone photos.
    2. iPhone appears in information system under the USB section.
    3. I have the latest version of iOS and OS x and Xcode and iTunes.
    4. Strange, when I connect my iPhone to a Windows computer, the iTunes in this PC recognize and display devices, and I'm able to sync.
    5. I have been dealing with this problem for almost 3 days now.
    6. Of course, I'm confident the computer to the iPhone when the alert on the computer appears.
    7. When I connect my iPhone to another Mac, it is recognized and the synchronization works.
    8. When I put my iPhone in my device iTunes recovery mode displays and is recognized and I am asked to update or restore. I've done both but my iPhone restarts in the middle of the process and gets not even recognized because it comes out of the iPhone recovery mode.
    9. Wireless mouse connected to my mac via USB works in all ports.
    10. I have USB 2.0
    11. I encounter the error "Could not connect to the device", "Could not connect to this iPhone"iPhone"and"Operation timed"out from iTunes."
    12. It seems that this problem arises with El Capital because I'm able to connect to iTunes and Xcode with Maverics last few months. Only, I returned again a coding in Xcode after a few months break and noticed the problem when I'm about to deploy my application for iPhone.

    What I've done so far but did not work:

    1. Change usb port
    2. Restarted mac, iTunes, iPhone and Xcode.
    3. Downgraded to the lower version of iTunes (12.1). I put it to the later version on light that it did not work.
    4. Use different cables
    5. iPhone in Recovery Mode
    6. Reset the SMC, PRAM, NVRAM
    7. Reset the settings of my iPhone (reset all settings)
    8. Clear/var/db/lockdown folder content
    9. sudo kextload /System/Library/Extensions/AppleUSBEthernetHost.kext and uninstall and then install the latest version of iTunes
    10. sudo launchctl stop com.apple.usbmuxd out iTunes and open it again.
    11. sudo nvram boot-args = kext-dev-mode = 1
    12. Disable the system full protection
    13. Uninstall my antivirus
    14. Created another admin account in my mac and I tried to plug in the unit.
    15. Searched the net for different solutions.
    16. installed anti malware and scanned mac.

    Hoping that someone could enlighten and lead with this problem.

    Finally solved the problem in replacement of my old usb cable with a newly purchased on Apple Store.

  • iOS 9.2.1 - question to deploy the app on ipad personnal

    Hello

    Yesterday, I updated my ios on my ipad, since then I can't "run" my xcode for ipad app.

    I am on ios 9.2.1 (13D 15) and Yosemite (10.10.5)

    I tried to uninstall xcode and reinstall, but nothing seems to work.

    Could you help me please

    I have the error message is when I try to launch the app from xcode:

    "dyld_shared_cache_extract_dylibs failed".

    Waiting to read from you guys

  • Update iOS 9.2 broken keychain and increased the application launch time

    I've just updated to iOS 9.2 on my 6 64GB iPhone and I noticed a few serious problems including cold taking app launches 6 seconds for all applications.

    I then ran a gentle restoration of 9.2 and restoring froze completely when you enter a password. Looking at the logs of device using the browser of journal of Xcode device I saw several calls for the keychain of the unit that didn't exist recursively

    Dec 10 10:48:13 My-iPhone securityd[92] :  securityd_xpc_dictionary_handler cloudd[136] copy_matching Error Domain=NSOSStatusErrorDomain Code=-50 "query missing class name" UserInfo={NSDescription=query missing class name}
    Dec 10 10:48:13 My-iPhone cloudd[136] :  SecOSStatusWith error:[-50] Error Domain=NSOSStatusErrorDomain Code=-50 "query missing class name" UserInfo={NSDescription=query missing class name}
    Dec 10 10:48:13 My-iPhone securityd[92] :  securityd_xpc_dictionary_handler cloudd[136] copy_matching Error Domain=NSOSStatusErrorDomain Code=-50 "query missing class name" UserInfo={NSDescription=query missing class name}
    Dec 10 10:48:13 My-iPhone cloudd[136] :  SecOSStatusWith error:[-50] Error Domain=NSOSStatusErrorDomain Code=-50 "query missing class name" UserInfo={NSDescription=query missing class name}
    

    I have exactly the same problem. After the upgrade to iOS 9.2, tapping the icon freezes the phone for 5-6 seconds before running the zoom-in animation. I tested on different devices and the problem seems to occur only on devices used for development and only on non-Apple applications. I tried to delete all profiles of development and certificates, did a hard reset but the problem persists. I use a 6 64GB iPhone

    1. Dec 14 12:23:42 iPhone SpringBoard [58] : PUT: using the empty blacklist.
    2. Dec 14 12:23:44 iPhone SpringBoard [58] : PUT: using the empty blacklist.
  • Plugin de Cordova for iOS, binary embedded for custom frame

    Hi all

    I am trying to create a wrapper to Cordova iOS for a native of specific features.

    The plugin uses a custom frame that must be added in the binary shipped (XCode - general) before building. For the normal plugin of Cordova, I can't open XCode project and add in the binaries shipped, but I don't know how in the MAF to the Oracle.

    If the custom frame is not added in the binary incorporated, the application is able to build and run but accident after the launch.

    Thank you

    Kind regards

    There are workaround is, open the project (after having built and deployed by MAF jdeveloper) / project/ViewController/deploy/ios_deploy_name/then in xCode, manually add the framework for binaries shipped.

    I have not found any solution to Cordova plugin config to automatically add embedded binary files.

    Thank you

  • stuck iOS apps to install on the device (ios 8.4, code 6.4, MAF 2.1.3)

    I tested the deployment of two different applications for iPad/iPhone: my own as well as samples of Public: HelloWorld.

    I get the same result in both cases.

    They are deployed to the device and then the icon remains dark and if I type it crashes with "installation".

    I've tried resetting, removal and reinstallation, all in the same direction.

    I confirmed the provision cert and the signing identity is correct (or they wouldn't be at all, to deploy as soon as?)

    6.4 XCode

    iOS 8.4

    OSX10.10.5

    12.1.3 JDev

    MAF 2.1.3

    device was not registered with apple:

    Getting started with iOS Devices

    To install the apps and pré-versions IOS on a development system, you must first register this device using its unique device identifier (UDID).

    Save devices with Xcode

    Xcode is the best way to save your iOS device. Connect your device to your Mac and click on use for development in the Xcode Organizer window. Log in with the Apple ID associated with your iOS developer program membership and Xcode will register the UDID of your device to your iOS development team.

    Manually register the devices

    If you want to download multiple devices IDS, professional and team canmanually register devices.

Maybe you are looking for

  • Why do I get 'access denied relay '.

    When you try to send an e-mail for the first time (new computer with windows 8.1), it gave me this error message: cannot send.Relay access denied.

  • How can I download Quicktime version 10 to my iMac OX

    How can I download Quicktime version 10-mi IMAC OS X EL CAPITAN?

  • New episode of my podcast doesn't show on iTunes/Podcasts

    Hi all! I need help with the following problem. On Monday introduced a new episode (29) of my 'booth do Podcast"but does not appear in iTunes. It's only visible for those who subscribed to the podcast and see it in "News FEED" (so yes, it seems). It

  • Silverlight - error in Script of Netflix

    When you try to browse the netflix page, I get an error message on the Scripts and then the page crashes.  Netflix said that there is a problem of Silverlight - suggestions

  • Bm10 iPhone connection problems

    Hi, I have problems to connect my iphone to my Sony Bm10 receiver. The bm10 is connected to my mac, and works very well with it. But when I want to connect my iphone 4s, he does not pick up there, so I can't connect to it. My iphone bluetooth works,