mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-05 09:39:14 +08:00
recognize Provisioning Profile which has "iOSTeam Provisioning..."
http://hipbyte.myjetbrains.com/youtrack/issue/RM-643
This commit is contained in:
@@ -82,7 +82,7 @@ module Motion; module Project;
|
||||
super('iPhone')
|
||||
end
|
||||
|
||||
def provisioning_profile(name = /iOS Team Provisioning Profile/)
|
||||
def provisioning_profile(name = /iOS\s?Team Provisioning Profile/)
|
||||
@provisioning_profile ||= begin
|
||||
paths = Dir.glob(File.expand_path("~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision")).select do |path|
|
||||
text = File.read(path)
|
||||
|
||||
@@ -107,7 +107,7 @@ module Motion; module Project;
|
||||
super('iPhone')
|
||||
end
|
||||
|
||||
def provisioning_profile(name = /iOS Team Provisioning Profile/)
|
||||
def provisioning_profile(name = /iOS\s?Team Provisioning Profile/)
|
||||
@provisioning_profile ||= begin
|
||||
paths = Dir.glob(File.expand_path("~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision")).select do |path|
|
||||
text = File.read(path)
|
||||
|
||||
Reference in New Issue
Block a user