diff --git a/lib/phoenx/gem_version.rb b/lib/phoenx/gem_version.rb
index <HASH>..<HASH> 100755
--- a/lib/phoenx/gem_version.rb
+++ b/lib/phoenx/gem_version.rb
@@ -1,5 +1,5 @@
 module Phoenx
   
-  	VERSION = "0.3.0".freeze unless defined? Phoenx::VERSION
+  	VERSION = "0.3.1".freeze unless defined? Phoenx::VERSION
   
 end
\ No newline at end of file
diff --git a/lib/phoenx/use_cases/generate_target.rb b/lib/phoenx/use_cases/generate_target.rb
index <HASH>..<HASH> 100755
--- a/lib/phoenx/use_cases/generate_target.rb
+++ b/lib/phoenx/use_cases/generate_target.rb
@@ -585,6 +585,7 @@ module Phoenx
 			
 			# Add target dependency.
 			@target.add_dependency(@main_target)
+			@target.frameworks_build_phase.add_file_reference(@main_target.product_reference)
 			self.configure_target
 	
 		end
Fix for Unit Test Targets, Increase version to <I>