<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://wiki.tamedia.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=IOS_Beacon_SDK_Project_Setting</id>
	<title>IOS Beacon SDK Project Setting - 修訂歷史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tamedia.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=IOS_Beacon_SDK_Project_Setting"/>
	<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=IOS_Beacon_SDK_Project_Setting&amp;action=history"/>
	<updated>2026-05-01T19:57:19Z</updated>
	<subtitle>本 Wiki 上此頁面的修訂歷史</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.tamedia.com.tw/wiki/index.php?title=IOS_Beacon_SDK_Project_Setting&amp;diff=886&amp;oldid=prev</id>
		<title>imported&gt;Wikiuser：新頁面: == App project詳細設定說明== #進入專案Target -&gt; 選擇Build Phases -&gt; 選擇Link Binary With Libraries -&gt; 選擇下方的+號800px #...</title>
		<link rel="alternate" type="text/html" href="https://wiki.tamedia.com.tw/wiki/index.php?title=IOS_Beacon_SDK_Project_Setting&amp;diff=886&amp;oldid=prev"/>
		<updated>2017-07-11T07:16:06Z</updated>

		<summary type="html">&lt;p&gt;新頁面: == App project詳細設定說明== #進入專案Target -&amp;gt; 選擇Build Phases -&amp;gt; 選擇Link Binary With Libraries -&amp;gt; 選擇下方的+號&lt;a href=&quot;/wiki/index.php?title=%E6%AA%94%E6%A1%88:Beacon_project_setting_1.png&quot; title=&quot;檔案:Beacon project setting 1.png&quot;&gt;800px&lt;/a&gt; #...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== App project詳細設定說明==&lt;br /&gt;
#進入專案Target -&amp;gt; 選擇Build Phases -&amp;gt; 選擇Link Binary With Libraries -&amp;gt; 選擇下方的+號[[檔案:Beacon_project_setting_1.png|800px]]&lt;br /&gt;
#點擊＋號後出現搜尋欄，在搜尋欄分別輸入CoreLocation framework以及CoreBluetooth framework加入上述兩個framework[[檔案:Beacon_project_setting_2.png|800px]]&lt;br /&gt;
#在info.plist中，加入NSLocationAlwaysUsageDescription的key以及value(value文字可自訂)&amp;lt;br/&amp;gt;注意：因為iOS系統限制，設定NSLocationAlwaysUsageDescription才可以讓App即使在背景時也能偵測到iBeacon的藍芽訊號。如果只設定NSLocationWhenInUseUsageDescription的話，則App只有在前景時才能偵測iBeacon訊號，因此請以NSLocationAlwaysUsageDescription為主（或兩者同時並存）[[檔案:Beacon_project_setting_3.png|800px]]&lt;br /&gt;
#在info.plist中加入App Transport Security Settings，並在下方加入Allow Aribitrary Loads的Key, 並將該Value設成YES[[檔案:Beacon_project_setting_4.png|800px]]&lt;br /&gt;
#將libBeaconSDK.a檔案拖放進專案之後，在跳出的視窗選擇如下圖的方式，點選Copy items if needed以及在Add to targets處打勾[[檔案:Beacon_project_setting_5.png|800px]]&lt;br /&gt;
#將其它的4項header files拖放進專案中，在跳出的視窗中選擇以下的方式，記得Add to targets可以不用打勾：包含BeaconController.h, BeaconDataManager.h, BeaconDetect.h, BeaconNotification.h[[檔案:Beacon_project_setting_6.png|800px]]&lt;br /&gt;
#在Build Settings中，搜尋Other Linker Flags後，輸入-Objc[[檔案:Beacon_project_setting_7.png|800px]]&lt;br /&gt;
&lt;br /&gt;
完成圖:&lt;br /&gt;
[[檔案:Beacon_project_setting_8.png|none|800px]]&lt;br /&gt;
&lt;br /&gt;
[[IOS_Beacon_Ad_SDK_Tutorial|回iOS Beacon SDK教學]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Wikiuser</name></author>
	</entry>
</feed>