<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18859/iosdfulibrary-in-a-objective-c-project</link><description>Hi all, 
 I am trying to add the iOSDFULibrary library to an existing Objective-c project via Cocoapods (Xcode 8.2.1 - target iOS 10). 
 I have followed the steps reported in the library documentation ( iOSDFULibrary on github ). This is the output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Jan 2017 16:08:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18859/iosdfulibrary-in-a-objective-c-project" /><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72841?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 16:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d15fb07-6727-4342-ac70-ad3418115ea9</guid><dc:creator>fab</dc:creator><description>&lt;p&gt;Hi Mostafa, I haven&amp;#39;t had any success and I added a comment to GitHub issue &amp;#39;DFU Stuck on Connecting&amp;#39;
Thx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72835?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 11:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88d69461-51af-43cc-81a5-4762c386e7f6</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;That&amp;#39;s great to hear, I think this is a known issue &lt;a href="https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/issues/50"&gt;found here&lt;/a&gt;, you can take a look here and we will follow up with you in the comments there if you didn&amp;#39;t manage to get it working with the solutions posted there!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72840?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 11:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69415d90-762e-4de2-a8be-64aab04f5633</guid><dc:creator>fab</dc:creator><description>&lt;p&gt;Unfortunately I have another problem. The library stuck on the DFUStateConnecting state. Do I have to open another question?
Thx.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72843?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 10:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eecbad36-50b2-4bee-b383-6b3f5e0f93fc</guid><dc:creator>fab</dc:creator><description>&lt;p&gt;You saved me the day. It&amp;#39;s working. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72842?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 10:07:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bd2fcd4-ffbd-4dcc-875d-d45b1b8e9b64</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;Ok I found a workaround that&amp;#39;s pretty simple, updated the answer, let me know how it works out for you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72836?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 09:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6c384d9-7f91-49b6-a91e-7cee3f77128d</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;ok ignore my last message, i reproduced the issue now, will verify and let you know what&amp;#39;s going on soon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72837?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 09:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f60a81a-9069-48ea-9bd5-c5c9f40b71e6</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;Can you send me a link to Github project that reproduces this issue ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72834?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 09:14:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c20bd41-7215-4777-a4d7-37d8399bd9f2</guid><dc:creator>fab</dc:creator><description>&lt;p&gt;I followed all the steps you suggested, unfortunately nothing changed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72839?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 08:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95fa3087-de11-4b72-b3fc-ce8ef6748b5c</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;Updated my answer that was intended to be a comment in the first place, sorry :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72838?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 08:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fff8765-e1d1-4c0c-bb99-269838bdc3bb</guid><dc:creator>fab</dc:creator><description>&lt;p&gt;Thx for your help.
I am running version 1.1.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOSDFULibrary in a Objective-c project</title><link>https://devzone.nordicsemi.com/thread/72833?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 08:42:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db9590fc-f4cf-46c1-9e88-4fbdf9efa74c</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;Sorry about that bug, we are currently reviewing what causes this issue, it&amp;#39;s quite simple to fix for now.&lt;/p&gt;
&lt;p&gt;follow the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Run &lt;code&gt;pod install&lt;/code&gt; on your project&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When Xcode asks to migrate to newer version, select &lt;code&gt;later&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select to the &lt;code&gt;Pods&lt;/code&gt; target as shown:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Screen-Shot-2017_2D00_01_2D00_09-at-11.00.23.png" alt="image description" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the pods project build settings as shown:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Screen-Shot-2017_2D00_01_2D00_09-at-11.01.56.png" alt="image description" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;code&gt;Build settings&lt;/code&gt; and search for &lt;code&gt;legacy&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set &lt;code&gt;Use Legacy Swift Language Version&lt;/code&gt; to &lt;code&gt;NO&lt;/code&gt;:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Screen-Shot-2017_2D00_01_2D00_09-at-11.03.20.png" alt="image description" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go through all the other installed Pods and change the same setting to &lt;code&gt;NO&lt;/code&gt; on all of them (for example: &lt;code&gt;iOSDFULibrary&lt;/code&gt; and &lt;code&gt;Zip&lt;/code&gt; in your case&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Please follow our github page for iOSDFULibrary for updates on when we find a fix for this bug.&lt;/p&gt;
&lt;p&gt;Sorry for the inconvenience!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>