Xcode distribution not found
Hi there,
When trying to update my application, i click on archive and it tells me that there is no iPhone distribution selected. So, i go and try and change it (in build settings) to iPhone distribution and it says "No profiles currently match" I have got the distribution certificate but it in not appearing in xcode. Please my someone explain to me in simple terms how to sort this out! (simple because i am quite new to xcode and am of a simple mind!) thank you soo much if you can fix this problem that i am having!
again many thanks
Follow the walk-thru in TN 2250
Do not skip around...do not get creative. Confirm your app's status in iTunes Connect is 'waiting for upload'...
Similar Messages
-
I am having some trouble creating an installer for a program. I need it to include NI-DAQmx drivers, and selected them as shown in Fig. 1. Of course, this module has other dependencies, which can be also be seen in Fig. 1. When I try to build, everything appears normal until a dialog pops up informing me that a distribution is needed (Figure 2). If I click "Yes," I have the opportunity to locate the component myself (Figure 3). I think it should be in the Device Drivers Disk, specifically in the folder marked disk 3. However, the computer disagrees, and cannot find the component, even if I provide the Device Driver DVD. Out of curiosity, I tried searching the DVD, and cannot find any file or folder named "Variable Engine" or "Base Package". So I am forced to cancel the build.
The resulting log file is simply:
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Your help would be greatly appreciated.
Solved!
Go to Solution.
Attachments:
Figure 1.JPG 84 KB
Figure 2.JPG 29 KB
Figure 3.JPG 23 KBjohnsoag,
Hello! Checkout the article below and the link to another forum post with more articles on this issue.
Distribution Not Found Error when Building Distribution in LabWindows/CVI
Forum Post with more articles.
When it askes you to locate the distribution have you tried putting in your installer DVD's for LabWindows/CVI?
Ben Sisney
FlexRIO V&V Engineer
National Instruments -
Xcode is not shown in launchpad
For some reasion I want to use older versions of xcode on my macbook pro I tried to download and install the old xcode with sdk(from 2011) just as I did on my friends computer which it worked before but this time I failed.I tried it many times the installation finishes without a problem but xcode launcher is not shown in launchpad or any other tools also I cant find any startup icon in developer or any other folders.
Any of you had the same problem like me with old versions of xcode also I cant isntall the application tools files because it says xcode is not found on this computer but I installed it on my hard drive.
If any of you had the same problem and solved it please share...4.3.3 is the complete basic tool suite. What you downloaded was a .dmg file...double click on that to open and mount. If it's an installer, run it. If it's Xcode the application, drag it into your /Applications folder and run it from there. Unmount the .dmg when done.
You can then download components such as debugging support for another version iOS and documents.
I would suggest you start with the latest tools. You'll go blind trying to straddle fossilized tools and SDKs and anything you learn will be at high risk of being obsolete to get into the store and support things today. Don't put yourself behind the curve at the beginning. Don't be afraid to use Storyboards.
Use the tools you paid for with your $99 Developer Account in the iOS Dev Center.
iOS Human Interface Guidelines
iOS Starting Point
Start Developing iOS Apps Today
App Development Overview
App Store Review Guidelines for iOS Apps
Your First iOS App
Your Second iOS App: Storyboards
Dev Guide:
https://itunesconnect.apple.com/docs/iTunesConnect_DeveloperGuide.pdf
ITC Guide:
iTunes Connect Developer Guide -
For some reason, new distribution groups I have created result in Undeliverable with the following body, Other distribution groups created in the past work fine. I have tested this outside our organization using my gmail and it gets returned to my gmail
account as well. Users that belong to the group are chosen obviously from the exchange provided users. I have tried using OWA, deleting autoentry, using the full address of the distribution group, I am truly at a loss. Any help is appreciated thanks in advance!
-Steve
Delivery has failed to these recipients or distribution lists:
[email protected]
The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your
system administrator.
Sent by Microsoft Exchange Server 2007
Diagnostic information for administrators:
Generating server: akmail.mydomain.COM
[email protected]
#550 5.1.1 RESOLVER.ADR.RecipNotFound; not found ##
Original message headers:
Received: from akmail.mydomain.COM ([::1]) by
AKMAIL.mydomain.COM ([::1]) with mapi; Tue, 8 Jul 2014 12:43:48 -0400
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: binary
From: Steven Anderson <[email protected]>
To: "[email protected]" <[email protected]>
Date: Tue, 8 Jul 2014 12:43:47 -0400
Subject: test2
Thread-Topic: test2
Thread-Index: AQHPmsvJDOvU9vGSLkK1oPeNzIzatw==
Message-ID: <[email protected]>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator: <[email protected]>
MIME-Version: 1.0Thank you very much for your response Akshay, here is the results from the Get-DistributionGroup:
Name DisplayName GroupType P
techsupport techsupport Universal t
info info Universal
i
*CallOut *CallOut Universal _
AKwirelessorder AKwirelessorder Universal A
*AllEmployees *AllEmployees Universal, Secur... _
casstb casstb Universal c
albanytsg albanytsg Universal a
ak911kyalarms ak911kyalarms Universal a
Polk Polk Universal
P
Solatb Solatb Universal S
kytechs kytechs Universal k
AKDISTSolacom AKDISTSolacom Universal A
NEFla NEFla Universal N
RhodeIsland RhodeIsland Universal R
NewYork NewYork Universal N
bradsgroup bradsgroup Universal b
petesgroup petesgroup Universal p
mikesgroup mikesgroup Universal m
test2 test2 Universal, Secur... t
So it does list it, I have 2 domain controllers at the same site one is also hosting the exchange server (we are a small business). I created the distribution group directly on the exchange management console. I will force AD replication, but I have looked
at the structure using ADSIedit and it does list it in the users section which is sort of why I am at a loss on this. Thanks very much for your help, -Steve -
Downloading Adobe Reader from distribution licence link - 404 page not found
I have recently applied for the Adobe distribution licence for Adobe Reader. This was successful, shortly after applying I received an email with the licence attached and a download link for Adobe Reader XI, The problem is the link doesn't work I just get 404 page not found, the link I cannot put on here as the licence will be broken.
For full installers:
To download the English language version of Adobe Reader XI with Acrobat.com in compressed .exe format, click here.
You may not share the above link, share information with others, or publish the above link on websites, blogs, or by any other means that can be publicly accessed. The information contained on this site is meant for your use only in accordance with the Adobe Reader Distribution License Agreement you accepted. You may direct others to http://www.adobe.com/products/reader/rdr_distribution1.html to request distribution rights.
What i need to know is can anyone (from Adobe) send me a replacement link, can I re-apply for the licence to get another link or even better under this licence can I download the software from Adobe - Adobe Reader download - All versions instead. I have contacted Adobe chat support who directed me to phone support, phone support flat out refused to help and said the only support would be via this forum.
Hopefully someone here can answer my questions.
Thanks all.Brilliant thanks, I see nothing wrong with downloading from here, it even states "In order to distribute Adobe Reader software you need to have a valid Adobe Reader Distribution Agreement in place" which I do.
Thanks again ~graffiti -
What can i do when my Xcode project shows me That UIKit/UIKit.h file not found.
When i going to run my Xcode project on my iPad i got an issue,it was UIKit/UIKit.h file not found. what can i do?
Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove".
Quit out of CleanUp, restart the PC and try installing iTunes again. Does the install go through properly now?
(If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.) -
Today I downloaded the iPhone SDK 3.1.3 XCode 3.2.1 Snow Leopard update.
After installing it, I looked in the Project Info. In the Deployyment section, the "Mac OS X Deployment Target" is set to "Max OS X 10.5".
Naturally, as fussy I am, I changed it to Mac OS X 10.6, which is what I want. After Building, it reports an ld error: i.e.
ld: library not found for -lcrt1.10.6.o
Why does this happen? Did others have the same experience?
Is this normal or how to fix? (Other than the obvious step to go to look for the missing library and try to install it myself).iPhone Dev Center
Downloads
Read me before downloading
If you have updated your device to iPhone OS 3.1.3 with iTunes, you must install iPhone SDK 3.1.3 in order to continue with your development.
*iPhone SDK 3.1.3*
iPhone SDK 3.1.3 includes the Xcode IDE, iPhone simulator, and a suite of additional tools for developing applications for iPhone and iPod touch.
_Posted: February 2, 2010_
Leopard Build: 9M2809a
Snow Leopard Build: 10M2003a
*Leopard Downloads*
iPhone SDK 3.1.3 with Xcode 3.1.4
iPhone SDK 3.1.3 with Xcode 3.1.4 Readme
*Snow Leopard Downloads*
iPhone SDK 3.1.3 with Xcode 3.2.1
iPhone SDK 3.1.3 with Xcode 3.2.1 Readme
*Other Downloads*
iPhone SDK Agreement
iPhone Configuration Utility -
Xcode - Downloading iOS Library fails: "...not found on server"
Hi,
I have a problem with downloading the XCode library.
I get following error message when I try to download the iOS-Library/documentation at xcode->preferences:
"Failed to download documentation package for iOS 5.0 Library.
Documentation package was not found on server."
For:
- iOS 5.0 Library
- Mac OS X 10.7 Library
I tried to reinstall XCode, but it's the same.
Even the same at another User account on this computer.
XCode Version 4.2.1, Build 4D502 (latest one)
What could be the reason?
How can I get the library to XCode?
When I sign on at the Apple-Developer Homepage I can see all the library entries.
So it can't be a problem with my access rights.
Thank you!
SusanneOn Xcode 4.2 (4C199) for Snow Leopard, I had already had downloaded documentation a while ago. Just pushed Check and Install Now and downloaded iOS 5 Library updates (372MB) and 222MB Xcode 4.2 Developer Library updates (222MB). So it might work for you now.
jules19: The Web Root does not include prerelease. I would be suspicious about that. Details:
iOS 5.0 Library (v. 40.2)
Feed: http://developer.apple.com/rss/com.apple.adc.documentation.AppleiPhone5_0.atom
Web Root URL: https://developer.apple.com/library/ios/
Xcode 4.2 Developer Library (v. 504.2)
Feed: http://developer.apple.com/rss/com.apple.adc.documentation.AppleXcode4_0.atom
Web Root URL: https://developer.apple.com/library/ios/ -
Xcode 4.5.2 wchar.h not found
when i complie my c++ code. i have error wchar.h not found. whats the problem?
What version of Xcode? Does your include look like this?
#include <wchar.h> -
XCode's C++ Linker and "Symbol Not Found"
I'm having trouble with the C++ Linker and it might have to do with how my project is set up:
Right now, I'm developing a simple C++ (command-line) problem in XCode 3.2.6, and while my sources compile, I'm getting a series of weird errors. Upon closer inspection, it appears that the "symbol not found" errors all relate to code in a file code.cpp, which calls functions declared in util.h, and for which the functions are declared in util.cpp; it appears that the object file code.o cannot find the symbols generated from util.o. How do I fix this?Alright. A little bit more concrete than what I had before: First the "symbol not found" error:
"std::set<unsigned long, std::less<unsigned long>, std::allocator<unsigned long> > setIntersection<unsigned long>(std::set<unsigned long, std::less<unsigned long>, std::allocator<unsigned long> > const&, std::set<unsigned long, std::less<unsigned long>, std::allocator<unsigned long> > const&)", referenced from:
AnchorSet::evaluate(std::set<unsigned long, std::less<unsigned long>, std::allocator<unsigned long> > const&) constin AnchorSet.o
AnchorSet::evaluate() is declared in AnchorSet.h and defined in AnchorSet.cpp. setIntersection() is declared in utils.h and defined in utils.cpp.
In AnchorSet.h:
class AnchorSet {
public:
unsigned long evaluate(const Subset& B) const;
In utils.h:
template<class T>
std::set<T> setDifference(const std::set<T>& A, const std::set<T>& B);
Any specific code that is needed beyond this? -
Hi everyone,
I got this error message by opening my Application in folder Products ins Xcode.
Dyld Error Message:
Library not loaded: /System/Library/Frameworks/UIKit.framework/UIKit
Referenced from: /Users/thomasschober/Excuse Me/build/Distribution-iphonesimulator/Excuse Me.app/Excuse Me
Reason: image not found
the application runs without error on the iphone simulator, but i cant open it this way.
Thanks to allThe answer is mentioned in a few other posts, but I thought I'd repeat it here, so that it's easier to find this solution in the future.
The problem is that the application you built for the iPhone Simulator is NOT a real application, even though it looks like one. You need to run it from within Xcode.
I got the same problem trying to build an iPhone-Simulator application using another build process -- in this case, Boost Build. When I tried to run the program, it gave me the same nonsensical dynamic-library error. In my case, I got around the problem by building the GLPaint sample using Xcode, copying over the executable it generated with the one I generated via Boost Build, then running GLPaint (actually my program now) from within Xcode. Then it worked. -
File not found in xcode4.6
My code was build with Xcode version 4.5.2. But now i upgraded to Xcode 4.6.
Code started give error like <wchar.h> file not found.
I am building my code using terminal & i have included <iostream> that includes <wchar.h> internally.
Please suggest what needs to be donei use vi editor to edit and xcodebuild to compile.
I changed my scripts to use iOS6.1 instead of iOS6.0 and it builds now.
Do you guys have any thoughts on the same ? -
"application descriptor not found" when trying to create .ane file
I have been trying to create a very simple native extention for the better part of a week now and I just can't seem to figure it out.
Using tutorials and guides from the following sources:
http://www.adobe.com/devnet/air/articles/extending-air.html
http://www.adobe.com/content/dam/Adobe/en/devnet/devices/pdfs/DevelopingActionScriptExtens ionsForAdobeAIR.pdf
http://custardbelly.com/blog/2011/09/21/air-native-extension-example-ibattery-for-ios/
I managed to get up to the point where I need to create the ane file, but I am getting "application descriptor not found".
So, here is the detailed explanation of everything I have done to date. Can someone tell me where I have gone wrong?
1. On the mac, I created an xcode project, using the iBattery example code from the link above, I managed to create static library .a file. I am not going to discount the possiblity that there are many errors still in this file, but I am going to assume for the moment that my current problem is not related to any issues in this static library.
2. Copied the static library "DaveExtention.a" to my PC where I have flash CS5.5 installed (yes, I know there is a typo in the name)
3. In my app folder, I created a lib folder that now contains the following files:
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\DaveExtension.fla
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\DaveExtension-app.xml
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\com\extensions\DaveExtension\DaveExtension.as
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\com\extensions\DaveExtension\BatteryStateEnum.as
I set my project to compile an swc into the build folder and simply put the following code into my project:
import com.extensions.DaveExtension.BatteryStateEnum;
import com.extensions.DaveExtension.DaveExtension;
var ext:DaveExtension = new DaveExtension;
var batterystate:BatteryStateEnum;
stop();
I then publish the swc.
4. Once the swc is created in the build folder, I copy the libDaveExtention.a to the build folder and create the extension.xml file, which looks like this:
<extension xmlns="http://ns.adobe.com/air/extension/2.5">
<id>com.extensions.DaveExtension</id>
<versionNumber>1</versionNumber>
<platforms>
<platform name="iPhone-ARM">
<applicationDeployment>
<nativeLibrary>libDaveExtention.a</nativeLibrary>
<initializer>ExtInitializer</initializer>
<finalizer>ExtFinalizer</finalizer>
</applicationDeployment>
</platform>
</platforms>
</extension>
5. I make a copy of the swc file and rename it to .zip... I then extract library.swf from it and delete the zip. My build folder now looks like this:
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\DaveExtension.swc
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\extension.xml
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\libDaveExtention.a
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\library.swf
6. I downloaded the flex 4.5.1.21328 sdk and the Air 3.0 sdk, which I copied into the flex sdk folder (which is located in "D:\SDKs\flex_sdk_4.5.1.21328")
7. In my build folder, I create a simple batch file called buildane.bat with the following command:
D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
8. I then open a command prompt to my build folder and run buildane.bat and this is my output:
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>buildane.bat
D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
application descriptor not found
No matter what I try, I can't get passed this.
Can anyone tell me what I am doing wrong?>>D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
Either its a typo or by mistake you wrote adl in yout bat file. Change it to adt since that is the file that will package your ane. adl is just used for debugging/running on Desktop.
Hope this helps. let me know how it goes.
Thanks,
Meet -
Errors in implementing Text Layout Framework text flow- selection event not found
please help me i have implemented the same project givan at adobe open source code site.
This is my code
<?xml version="1.0" encoding="utf-8"?>
<!--
ADOBE SYSTEMS INCORPORATED
Copyright 2008 Adobe Systems Incorporated
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file
in accordance with the terms of the Adobe license agreement
accompanying it. If you have received this file from a source
other than Adobe, then your use, modification, or distribution
of it requires the prior written permission of Adobe.
-->
<!-- Demonstrate some example controls. This example does not attempt to create a control for every property in the TextLayoutFramework -->
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" label="Text Editor Example" initialize="init()" backgroundColor="#FFFFFF" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:Script>
<![CDATA[
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.conversion.TextConverter;
import flashx.textLayout.edit.EditManager;
import flashx.textLayout.edit.IEditManager;
import flashx.textLayout.edit.ElementRange;
import flashx.textLayout.edit.SelectionState;
import flashx.textLayout.elements.Configuration;
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.events.StatusChangeEvent;
import flashx.textLayout.events.SelectionEvent;
import flashx.textLayout.formats.ITextLayoutFormat;
import flashx.textLayout.formats.TextLayoutFormat;
import flashx.textLayout.formats.TextAlign;
import flashx.textLayout.formats.VerticalAlign;
import flashx.textLayout.formats.BlockProgression;
import flashx.textLayout.formats.Direction;
import flashx.textLayout.tlf_internal;
import flashx.undo.UndoManager;
import flash.display.Sprite;
import flash.system.Capabilities;
// the textFlow being worked on
private var _textFlow:TextFlow = null;
// container to hold the text
private var _container:Sprite = null;
// data providers for enumerated list boxes
static private const textAlignData:Array = [
{ label:"Justify", data:TextAlign.JUSTIFY},
{ label:"Left", data:TextAlign.LEFT},
{ label:"Right", data:TextAlign.RIGHT},
{ label:"Center", data:TextAlign.CENTER},
{ label:"End", data:TextAlign.END},
{ label:"Start", data:TextAlign.START}
static private const verticalAlignData:Array = [
{ label:"Bottom", data:VerticalAlign.BOTTOM },
{ label:"Justify", data:VerticalAlign.JUSTIFY },
{ label:"Middle", data:VerticalAlign.MIDDLE },
{ label:"Top", data:VerticalAlign.TOP }
static private const blockProgressionData:Array = [
{ label:"TopToBottom", data:BlockProgression.TB },
{ label:"RightToleft", data:BlockProgression.RL }
static private const directionData:Array = [
{ label:"LeftToRight", data:Direction.LTR },
{ label:"RightToleft", data:Direction.RTL }
* initialization
private function init():void
// create a sprite to hold the TextLines
_container = new Sprite();
textArea.rawChildren.addChild(_container);
fontFamily.dataProvider = populateFontFamily();
versionInfo.text = "Vellum: " + flashx.textLayout.BuildInfo.kBuildNumber + (Configuration.tlf_internal::debugCodeEnabled ? " Debug" : " Release")
+ ", Flex: " + mx_internal::VERSION
+ ", Player: " + Capabilities.version;
* Create an array of available font families
static private function populateFontFamily():Array
// really this returns an array of fonts - would be nice to strip it down to just the families
var fonts:Array = Font.enumerateFonts(true);
var fontfamily:Array = new Array();
fonts.sortOn("fontName", Array.CASEINSENSITIVE);
for(var i:int = 0; i< fonts.length; i++)
// trace(fonts[i].fontName);
fontfamily.push({label: fonts[i].fontName, data: fonts[i].fontName});
return fontfamily;
/** called to set the size of this panel */
public function setSize(w:int,h:int):void
this.width = w;
this.height = h;
textArea.width = width;
textArea.height = height > bottomTabs.height ? this.height-bottomTabs.height : 0;
if (_textFlow)
_textFlow.flowComposer.getControllerAt(0).setCompositionSize(textArea.width,textArea.heigh t);
_textFlow.flowComposer.updateAllControllers();
/** called when the bottom tabs finally gets sized. */
private function bottomTabsResize():void
setSize(width,height);
/** The TextFlow to edit. */
public function get textFlow():TextFlow
{ return _textFlow; }
public function set textFlow(newFlow:TextFlow):void
// clear any old flow if present
if (_textFlow)
_textFlow.flowComposer = null;
_textFlow = null;
_textFlow = newFlow;
if (_textFlow)
_textFlow.flowComposer.addController(new ContainerController(_container,textArea.width,textArea.height));
// setup event listeners for selection changed and ILG loaded
_textFlow.addEventListener(SelectionEvent.SELECTION_CHANGE,selectionChangeListener,false,0 ,true);
_textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE,graphicStatusCha ngeEvent,false,0,true);
// make _textFlow editable with undo
_textFlow.interactionManager = new EditManager(new UndoManager());
// initialize with a selection before the first character
_textFlow.interactionManager.selectRange(0,0);
// compose the new textFlow and give it focus
_textFlow.flowComposer.updateAllControllers();
_textFlow.interactionManager.setFocus();
/** Receives an event any time an ILG with a computed size finishes loading. */
private function graphicStatusChangeEvent(evt:StatusChangeEvent):void
// recompose if the evt is from an element in this textFlow
if (_textFlow && evt.element.getTextFlow() == _textFlow)
_textFlow.flowComposer.updateAllControllers();
/** Receives an event any time the selection is changed. Update the UI */
private function selectionChangeListener(e:SelectionEvent):void
var selectionState:SelectionState = e.selectionState;
var selectedElementRange:ElementRange = ElementRange.createElementRange(selectionState.textFlow, selectionState.absoluteStart, selectionState.absoluteEnd);
// set display according to the values at the beginning of the selection range. For point selection/characterFormat use getCommonCharacterFormat as that tracks pending attributes waiting for the next character
var characterFormat:ITextLayoutFormat = _textFlow.interactionManager.activePosition == _textFlow.interactionManager.anchorPosition ? _textFlow.interactionManager.getCommonCharacterFormat() : selectedElementRange.characterFormat;
var paragraphFormat:ITextLayoutFormat = selectedElementRange.paragraphFormat;
var containerFormat:ITextLayoutFormat = selectedElementRange.containerFormat;
updateComboBox(fontFamily,characterFormat.fontFamily);
fontSize.text = characterFormat.fontSize.toString();
lineHeight.text = characterFormat.lineHeight.toString();
updateComboBox(textAlign,paragraphFormat.textAlign);
textIndent.text = paragraphFormat.textIndent.toString();
columnCount.text = containerFormat.columnCount.toString();
columnGap.text = containerFormat.columnGap.toString();
updateComboBox(verticalAlign,containerFormat.verticalAlign);
updateComboBox(blockProgression,_textFlow.computedFormat.blockProgression);
updateComboBox(directionBox,_textFlow.computedFormat.direction);
/** Helper function to update a comboBox in the UI */
private function updateComboBox(box:ComboBox,val:String):void
for (var i:int = 0; i < box.dataProvider.length; i++)
if (box.dataProvider[i].data == val)
box.selectedIndex = i;
return;
box.text = val;
* These functions are helpers for the various widgets to actually perform the operations on the TextFlow
private function changeFontFamily(newFontFamily:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.fontFamily = newFontFamily;
IEditManager(_textFlow.interactionManager).applyLeafFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeFontSize(newFontSize:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.fontSize = newFontSize;
IEditManager(_textFlow.interactionManager).applyLeafFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeLeading(newLeading:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.lineHeight = newLeading;
IEditManager(_textFlow.interactionManager).applyLeafFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeTextAlign(newAlign:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var pf:TextLayoutFormat = new TextLayoutFormat();
pf.textAlign = newAlign;
IEditManager(_textFlow.interactionManager).applyParagraphFormat(pf);
_textFlow.interactionManager.setFocus();
private function changeTextIndent(newIndent:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var pf:TextLayoutFormat = new TextLayoutFormat();
pf.textIndent = newIndent;
IEditManager(_textFlow.interactionManager).applyParagraphFormat(pf);
_textFlow.interactionManager.setFocus();
private function changeColumnCount(newCount:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.columnCount = newCount;
IEditManager(_textFlow.interactionManager).applyContainerFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeColumnGap(newGap:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.columnGap = newGap;
IEditManager(_textFlow.interactionManager).applyContainerFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeVerticalAlign(newAlign:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.verticalAlign = newAlign;
IEditManager(_textFlow.interactionManager).applyContainerFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeBlockProgression(newProgression:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.blockProgression = newProgression;
IEditManager(_textFlow.interactionManager).applyFormatToElement(_textFlow,cf);
_textFlow.interactionManager.setFocus();
/** Set direction on the rootElement. This effects both columnDirection and default reading order. */
private function changeDirection(newDirection:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var pf:TextLayoutFormat = new TextLayoutFormat();
pf.direction = newDirection;
IEditManager(_textFlow.interactionManager).applyFormatToElement(_textFlow,pf);
_textFlow.interactionManager.setFocus();
]]>
</mx:Script>
<!-- <mx:VBox horizontalScrollPolicy="off" verticalScrollPolicy="off" width="100%" height="100%"> -->
<mx:Canvas id="textArea" width="520" height="400"/>
<mx:TabNavigator id="bottomTabs" width="100%" creationPolicy="all" paddingLeft="4" paddingBottom="8" backgroundColor="#D9D9D9" color="#202020" horizontalScrollPolicy="off" verticalScrollPolicy="off" resize="bottomTabsResize()">
<mx:HBox label="Text" backgroundColor="#D9D9D9" width="496" horizontalScrollPolicy="off" verticalScrollPolicy="off" >
<mx:Label text="Font:"/>
<mx:ComboBox id="fontFamily" editable="true" enter="changeFontFamily(fontFamily.text)" close="changeFontFamily(fontFamily.text)" width="200"/>
<mx:Label text="Size:"/>
<mx:TextInput id="fontSize" enter="changeFontSize(fontSize.text)" width="40"/>
<mx:Label text="LineHeight:"/>
<mx:TextInput id="lineHeight" enter="changeLeading(lineHeight.text)" width="40"/>
</mx:HBox>
<mx:HBox label="Para" backgroundColor="#D9D9D9" width="496">
<mx:Label text="Alignment:"/>
<mx:ComboBox id="textAlign" close="changeTextAlign(textAlign.selectedItem.data)" dataProvider="{textAlignData}"/>
<mx:Label text="FirstLineIdent:"/>
<mx:TextInput id="textIndent" enter="changeTextIndent(textIndent.text)" width="40"/>
</mx:HBox>
<mx:HBox label="Container" backgroundColor="#D9D9D9" width="496">
<mx:Label text="Columns:"/>
<mx:TextInput id="columnCount" toolTip="auto or a number" enter="changeColumnCount(columnCount.text)" width="40"/>
<mx:Label text="Gap:"/>
<mx:TextInput id="columnGap" toolTip="a number" enter="changeColumnGap(columnGap.text)" width="40"/>
<mx:Label text="VerticalAlignment:"/>
<mx:ComboBox id="verticalAlign" close="changeVerticalAlign(verticalAlign.selectedItem.data)" dataProvider="{verticalAlignData}"/>
</mx:HBox>
<mx:HBox label="Flow" backgroundColor="#D9D9D9" width="496">
<mx:Label text="Progression:"/>
<mx:ComboBox id="blockProgression" close="changeBlockProgression(blockProgression.selectedItem.data)" dataProvider="{blockProgressionData}"/>
<mx:Label text="Direction:"/>
<mx:ComboBox id="directionBox" close="changeDirection(directionBox.selectedItem.data)" dataProvider="{directionData}"/>
</mx:HBox>
<mx:HBox label="Version" backgroundColor="#D9D9D9" width="496">
<mx:TextInput id="versionInfo" editable="false" width="100%"/>
</mx:HBox>
</mx:TabNavigator>
<!-- </mx:VBox> -->
</mx:VBox>Probably something is going wrong when the application is being built, and textLayout.SWC is not found. Are you using Flex or Flash Pro to build it? What version? Does this error come up when you build the project, or when you run it?
Thanks,
- robin -
Build unsuccessfull product not found on the system or has been upgraded: daqmx 8.7
I get the following error when doing a build:
The build was unsuccessful.
The following product(s) are not found on the system or have been upgraded:
NI-DAQmx 8.7
I just upgraded from LabView 8.6 to 8.61.
Any ideas?Hi Friend
You haven't mentioned whether it is occurring while building exe or installer. And I hope this occurring when building a installer. You just try this
Go to installer properties under category select "additional installers" and uncheck all items under the "national instruments installers to include" and then build. If its builds successfully there is no problem in your exe.
You can make separate installer of corresponding Run time engine and Device Drivers from the labview DVD.
This problem may happens when the installer failed to find the path of labview source distribution DVD where the Run time engine and device drivers are located.
Regards
Sam
[email protected]
Maybe you are looking for
-
cannot provisioning a SharePoint 2013 site with full control access, I get the page with the "Sorry, you don't have access to this page". Any help will be greatly appreciated.
-
My mac Mini has problem rendering images and video
THE PROBLEM: My mac mini has problem rendering JPEG image. There are strips on the images. Other images such as GIF, PNG, TIFF, and BMP are displayed nicely. The images shown in the links below illustrate the problem: http://www.flickr.com/photos/ter
-
Error -108 in quick time x when I share movies in Final Cut Pro X
HI, PLEASE NEED HELP!!!! After install LION a problem came out when I try to "share" my proyects, the funny thing is that only fails when I "share" to iPhone and iPad!, when i "share" to MAC and PC (1080p) it works wreat. the ERROR CODE -108 from QUI
-
Hi hussein; I need your help. I have 10.2.0.4 database on linux cluster system. When flow those steps: drop user sysman cascade; drop role MGMT_USER; drop user MGMT_VIEW cascade; drop public synonym MGMT_TARGET_BLACKOUTS; drop public synonym SETEMVIE
-
HT201272 how can I retieve the freecell app that was accidently deleted ?
this app was installed when I bought my ipad ,and I wonder how I can get it back --- I miss it !