<?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>Building application from Github</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57048/building-application-from-github</link><description>I have downloaded the example application code from github ( https://github.com/NordicSemiconductor/IOS-Nordic-Thingy ) and am trying to build it using the latest xcode development environment provided by Apple. In the instructions, it says to: 
 
 Create</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Feb 2020 14:25:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57048/building-application-from-github" /><item><title>RE: Building application from Github</title><link>https://devzone.nordicsemi.com/thread/232370?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 14:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd109da9-5c4d-4a60-9633-836cf2051eec</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;The issue you are having is described here: &lt;a href="https://github.com/CocoaPods/cocoapods-try/issues/63"&gt;https://github.com/CocoaPods/cocoapods-try/issues/63&lt;/a&gt; and seems it still hasn&amp;#39;t been fixed. Instead, just clone the IOS-Pods-DFU-Library repo and launch the &lt;span&gt;./Example/ThingySDK.xcworkspace&lt;/span&gt; file in xcode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building application from Github</title><link>https://devzone.nordicsemi.com/thread/232350?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 13:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb4a73de-24cc-45d0-a35c-dceebbf19b5d</guid><dc:creator>JMF</dc:creator><description>&lt;p&gt;Thanks for the&amp;nbsp;reply Aleksander, I did try the &amp;#39;pod try IOSThingLibrary&amp;#39; previously and just tried again, when I do it says:&lt;/p&gt;
&lt;p class="p1"&gt;&lt;strong&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Jamess-Mac-mini:MyGithub jflynn$ pod try IOSThingyLibrary
Updating spec repositories

Trying IOSThingyLibrary
xcode-select: error: tool &amp;#39;xcodebuild&amp;#39; requires Xcode, but active developer directory &amp;#39;/Library/Developer/CommandLineTools&amp;#39; is a command line tools instance

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

### Command

```
/usr/local/bin/pod try IOSThingyLibrary
```

### Report

* What did you do?

* What did you expect to happen?

* What happened instead?


### Stack

```
   CocoaPods : 1.9.0.beta.2
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
    RubyGems : 3.0.3
        Host : Mac OS X 10.15.2 (19C57)
       Xcode :  ()
         Git : git version 2.24.0
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
```

### Plugins

```
cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.4.1
cocoapods-try         : 1.1.0
```

### Error

```
NoMethodError - undefined method `root&amp;#39; for false:FalseClass
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.0.beta.2/lib/cocoapods/installer/pod_source_installer.rb:179:in `root_spec&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.0.beta.2/lib/cocoapods/installer/pod_source_installer.rb:192:in `predownloaded?&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.0.beta.2/lib/cocoapods/installer/pod_source_installer.rb:69:in `install!&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.1.0/lib/pod/command/try.rb:139:in `install_pod&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.1.0/lib/pod/command/try.rb:50:in `block in run&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.0.beta.2/lib/cocoapods/user_interface.rb:118:in `title&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.1.0/lib/pod/command/try.rb:49:in `run&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.0.beta.2/lib/cocoapods/command.rb:52:in `run&amp;#39;
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.0.beta.2/bin/pod:55:in `&amp;lt;top (required)&amp;gt;&amp;#39;
/usr/local/bin/pod:23:in `load&amp;#39;
/usr/local/bin/pod:23:in `&amp;lt;main&amp;gt;&amp;#39;
```

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=undefined+method+%60root%27+for+false%3AFalseClass&amp;amp;type=Issues

If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don&amp;#39;t forget to anonymize any private data!

Looking for related issues on cocoapods/cocoapods...
 - error pod try MaterialComponents
   https://github.com/CocoaPods/CocoaPods/issues/9452 [closed] [1 comment]
   4 weeks ago

 - pod try BEMCheckBox stacktrace
   https://github.com/CocoaPods/CocoaPods/issues/9415 [closed] [1 comment]
   7 weeks ago

 - pod install UrbanAirship-iOS-SDK failed
   https://github.com/CocoaPods/CocoaPods/issues/9403 [closed] [5 comments]
   13 Dec 2019

and 2 more at:
https://github.com/cocoapods/cocoapods/search?q=undefined%20method%20%60root%27%20for%20false%3AFalseClass&amp;amp;type=Issues&amp;amp;utf8=✓
Jamess-Mac-mini:MyGithub jflynn$ &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So this solution isn&amp;#39;t working as you may expect it to be. Am I doing something wrong or is there something additional that needs to be installed to make this work?&lt;/p&gt;
&lt;p class="p1"&gt;&lt;strong&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/strong&gt;I did clone the repository and used the workspace you mentioned, using this approach does work, but generates 101 warnings and wants to update to swift 5.&amp;nbsp; Do you know if there is any update&amp;nbsp;available that corrects these warnings and has already been updated to swift 5?&amp;nbsp; I would like to use this project as a starting point for something I&amp;#39;m working on&amp;nbsp;but would like to not have to go back and fix warnings and update&amp;nbsp;to create a clean project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building application from Github</title><link>https://devzone.nordicsemi.com/thread/232058?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 11:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0236a096-ad3e-47d6-9789-96a61835a498</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The instructions you mentioned above are useful when you want to include Thingy library in your project. Then, in your project&amp;#39;s Podfile you need to add reference to &lt;strong&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;code&gt;IOSThingyLibrary&lt;/code&gt;&lt;/span&gt;&lt;/strong&gt;. Then, in classes that you need to use Thingy API, you put this import statement. But if you just want to compile the sample app, either clone the repo and open Example/ThigySDK.xcworkspace, or use&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;pod try IOSThingyLibrary&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This will download the sample app and set up all dependencies. You may then open it in xcode by opening the same workspace file.&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>